Link to home
Start Free TrialLog in
Avatar of jazzIIIlove
jazzIIIloveFlag for Sweden

asked on

I need to check for whether the file folder is created in successfully in C#. How to?

Hi there;

I need to check for whether the file folder is created in successfully in C#.

I mean i need to have a function whether the file is created successfully, return true or return false.

Same for different function checking for folder creation.

Kind regards.
ASKER CERTIFIED SOLUTION
Avatar of plusone3055
plusone3055
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jazzIIIlove

ASKER

I want to check not the exist case.

I just want to create a directory and if the creation fails or not.

Kind regards.
after the  create process run the code i gave you checking if exist will prove whether it was created successfully or not :)
Ehm. You are right.