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