[DllImport("Kernel32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.SafeHandle)] public static extern SafeFindHandle FindFirstFile( string lpFileName, out WIN32_FIND_DATA lpFindFileData );
Microsoft documentation: Link
Last updated 1 year ago