Alphaleonis.Win32.Filesystem.File.GetFileInfoByHandle(Microsoft.Win32.SafeHandles.SafeFileHandle)

Here are the examples of the csharp api class Alphaleonis.Win32.Filesystem.File.GetFileInfoByHandle(Microsoft.Win32.SafeHandles.SafeFileHandle) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: AlphaFS
Source File: File.GetFileInfoByHandle.cs
[SecurityCritical]
      internal static ByHandleFileInfo GetFileInfoByHandleCore(KernelTransaction transaction, bool isFolder, string path, PathFormat pathFormat)
      {
         using (var handle = CreateFileCore(transaction, path, isFolder ? ExtendedFileAttributes.BackupSemantics : ExtendedFileAttributes.ReadOnly, null, FileMode.Open, FileSystemRights.ReadData, FileShare.ReadWrite, true, false, pathFormat))
            return GetFileInfoByHandle(handle);
      }