14 references to UnsafeNativeMethods
System.Configuration (14)
Microsoft\Win32\SafeCryptContextHandle.cs (1)
29UnsafeNativeMethods.CryptReleaseContext(this, 0);
Microsoft\Win32\SafeNativeMemoryHandle.cs (1)
41UnsafeNativeMethods.LocalFree(handle);
System\Configuration\ClientConfigPaths.cs (1)
118while (((length = UnsafeNativeMethods.GetModuleFileName(new HandleRef(null, IntPtr.Zero), sb, sb.Capacity)) == sb.Capacity)
System\Configuration\DPAPIProtectedConfigurationProvider.cs (2)
103success = UnsafeNativeMethods.CryptProtectData(ref inputData, "", ref entData, 169success = UnsafeNativeMethods.CryptUnprotectData(ref inputData, IntPtr.Zero,
System\Configuration\FileUtil.cs (3)
23UnsafeNativeMethods.WIN32_FILE_ATTRIBUTE_DATA data; 24bool ok = UnsafeNativeMethods.GetFileAttributesEx(filename, UnsafeNativeMethods.GetFileExInfoStandard, out data);
System\Configuration\Internal\InternalConfigHost.cs (3)
117UnsafeNativeMethods.WIN32_FILE_ATTRIBUTE_DATA data; 118if ( UnsafeNativeMethods.GetFileAttributesEx(streamName, UnsafeNativeMethods.GetFileExInfoStandard, out data) &&
System\Configuration\Internal\WriteFileContext.cs (2)
239MoveSuccessful = UnsafeNativeMethods.MoveFileEx( 242UnsafeNativeMethods.MOVEFILE_REPLACE_EXISTING );
System\Configuration\RSAProtectedConfigurationProvider.cs (1)
196success = UnsafeNativeMethods.CryptAcquireContext(out hProv, KeyContainerName, CspProviderName, PROV_Rsa_FULL, UseMachineContainer ? CRYPT_MACHINE_KEYSET : 0);