15 references to PtrToStringAnsi
PresentationCore (2)
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (2)
664
array[i] = Marshal.
PtrToStringAnsi
(ptr);
740
return Marshal.
PtrToStringAnsi
(pszVal);
System (7)
net\System\Net\DNS.cs (2)
72
HostEntry.HostName = Marshal.
PtrToStringAnsi
(Host.h_name);
143
AliasToAdd = Marshal.
PtrToStringAnsi
(nativePointer);
security\system\security\cryptography\x509\x509certificate2collection.cs (1)
913
string oidValue = Marshal.
PtrToStringAnsi
(pszOid);
security\system\security\cryptography\x509\x509extension.cs (1)
329
string oidValue = Marshal.
PtrToStringAnsi
(pszOid);
services\monitoring\system\diagnosticts\ProcessManager.cs (3)
372
String name = Marshal.
PtrToStringAnsi
((IntPtr)((long)bufferPtr + entrySize));
442
moduleInfo.baseName = Marshal.
PtrToStringAnsi
((IntPtr)((long)bufferPtr + entrySize));
443
moduleInfo.fileName = Marshal.
PtrToStringAnsi
((IntPtr)((long)bufferPtr + entrySize + NativeMethods.WinModuleEntry.sizeofModuleName));
System.Core (2)
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (2)
1292
return Marshal.
PtrToStringAnsi
(val.AnsiString);
1387
stringArray[i] = ansi ? Marshal.
PtrToStringAnsi
(pointersToString[i]) : Marshal.PtrToStringAuto(pointersToString[i]);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4495
return Marshal.
PtrToStringAnsi
(val);
WindowsBase (3)
Base\MS\Internal\IO\Packaging\StorageBasedPackageProperties.cs (2)
583
string ansiString = Marshal.
PtrToStringAnsi
(pszVal);
722
string convertedString = Marshal.
PtrToStringAnsi
(pszVal);
Shared\MS\Win32\NativeMethodsCLR.cs (1)
4807
return Marshal.
PtrToStringAnsi
(val);