CreatFile API

T

Tom Shelton

What's the .NET equivalent to "CreateFile" API?
-Lou

That depends on what your using it for :) If your using it for basic
file manipulation, then you will want to take a look at the classes in
the System.IO namespace hiearchy.
 
H

Herfried K. Wagner [MVP]

Lou said:
What's the .NET equivalent to "CreateFile" API?

The 'FileStream' class' constructor internally calls 'CreateFile'. However,
there are some rare cases in which you'd still have to use 'CreateFile', for
example, if you attempt to access a drive directly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top