NativeMethods static class NativeMethods Documentation Code public static SafeFindHandle CreateFileW(string filename, FileAccess access, FileShare share, IntPtr securityAttributes, FileMode creationDisposition, FileAttributes flagsAndAttributes, IntPtr templateFile)