109 references to PtrToStringUni
mscorlib (5)
microsoft\win32\fusionwrap.cs (1)
171
sDisplayName = Marshal.
PtrToStringUni
(pDisplayName);
system\diagnostics\eventing\eventsource.cs (1)
1873
return System.Runtime.InteropServices.Marshal.
PtrToStringUni
(dataPointer);
system\runtime\interopservices\marshal.cs (1)
190
return
PtrToStringUni
(ptr);
system\security\accesscontrol\win32.cs (1)
48
resultSddl = Marshal.
PtrToStringUni
( ByteArray );
system\security\principal\windowsidentity.cs (1)
320
return Marshal.
PtrToStringUni
(logonSessionData.AuthenticationPackage.Buffer);
PresentationCore (3)
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (1)
108
_current = Marshal.
PtrToStringUni
(ppStr);
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (2)
681
array[i] = Marshal.
PtrToStringUni
(ptr);
743
return Marshal.
PtrToStringUni
(pwszVal);
PresentationFramework (1)
src\Framework\System\Windows\Standard\NativeMethods.cs (1)
2536
result[i] = Marshal.
PtrToStringUni
(currArg);
SMSvcHost (1)
System\ServiceModel\Activation\ListenerAdapterBase.cs (1)
128
string bindingString = Marshal.
PtrToStringUni
((IntPtr)bindingsBufferPtr);
System (29)
net\System\Net\_SSPIWrapper.cs (5)
592
attribute = Marshal.
PtrToStringUni
(SspiHandle.DangerousGetHandle());
608
attribute = Marshal.
PtrToStringUni
(SspiHandle.DangerousGetHandle());
899
name = Marshal.
PtrToStringUni
(unmanagedString);
963
Name = Marshal.
PtrToStringUni
(unmanagedString);
969
Comment = Marshal.
PtrToStringUni
(unmanagedString);
net\System\Net\_WinHttpWebProxyDataBuilder.cs (3)
28
proxy = Marshal.
PtrToStringUni
(ieProxyConfig.Proxy);
29
proxyByPass = Marshal.
PtrToStringUni
(ieProxyConfig.ProxyBypass);
30
autoConfigUrl = Marshal.
PtrToStringUni
(ieProxyConfig.AutoConfigUrl);
net\System\Net\Cache\WinInetCache.cs (1)
529
return Marshal.
PtrToStringUni
(pointer);
net\System\Net\DNS.cs (1)
1133
canonicalname = Marshal.
PtrToStringUni
((IntPtr)pAddressInfo->ai_canonname);
net\System\Net\mail\iisPickupDirectory.cs (2)
406
pickupDirectory = Marshal.
PtrToStringUni
((IntPtr)bufferPtr);
440
pickupDirectory = Marshal.
PtrToStringUni
((IntPtr)bufferPtr);
net\System\Net\WinHttpWebProxyFinder.cs (1)
230
proxyListString = Marshal.
PtrToStringUni
(proxyInfo.Proxy);
security\system\security\cryptography\cryptoapi.cs (5)
2977
string name = Marshal.
PtrToStringUni
(ptr.DangerousGetHandle());
3054
container = Marshal.
PtrToStringUni
(pwszContainer);
3059
provider = Marshal.
PtrToStringUni
(pwszProvider);
3161
string s = Marshal.
PtrToStringUni
(pbFormat.DangerousGetHandle());
3211
string s = Marshal.
PtrToStringUni
(pbFormat.DangerousGetHandle());
security\system\security\cryptography\x509\x500Name.cs (1)
101
return Marshal.
PtrToStringUni
(pwszDecodeName.DangerousGetHandle());
security\system\security\cryptography\x509\x509certificate2.cs (4)
666
string friendlyName = Marshal.
PtrToStringUni
(ptr.DangerousGetHandle());
1012
name = Marshal.
PtrToStringUni
(nameValue.Value.pbData);
1021
name = Marshal.
PtrToStringUni
(altNameEntry.Value.pwszDNSName);
1027
name = Marshal.
PtrToStringUni
(altNameEntry.Value.pwszURL);
security\system\security\cryptography\x509\x509certificate2collection.cs (1)
852
string s = Marshal.
PtrToStringUni
(pNameValue.Value.pbData);
security\system\security\cryptography\x509\x509chainelement.cs (1)
36
m_description = Marshal.
PtrToStringUni
(chainElement.pwszExtendedErrorInfo);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (3)
1394
instanceName = parentInstanceNames[perfInstance.ParentObjectInstance] + "/" + Marshal.
PtrToStringUni
((IntPtr)((long)dataRef + perfInstance.NameOffset));
1396
instanceName = Marshal.
PtrToStringUni
((IntPtr)((long)dataRef + perfInstance.NameOffset));
1469
instanceNames[i] = Marshal.
PtrToStringUni
((IntPtr)((long)dataRef + perfInstance.NameOffset));
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
828
string instanceName = Marshal.
PtrToStringUni
(namePtr);
System.Core (6)
System\Security\Cryptography\NCryptNative.cs (1)
1493
return Marshal.
PtrToStringUni
(new IntPtr(pValueBytes));
System\Security\Cryptography\X509Certificates\AuthenticodeSignatureInformation.cs (2)
36
m_description = Marshal.
PtrToStringUni
(signer.pwszDescription);
39
string descriptionUrl = Marshal.
PtrToStringUni
(signer.pwszDescriptionUrl);
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (1)
269
string valueAsString = Marshal.
PtrToStringUni
((IntPtr)pValue);
System\Security\Cryptography\Xml\ManifestSignedXml.cs (2)
173
return HexStringToBytes(Marshal.
PtrToStringUni
(tokenBuffer.DangerousGetHandle()));
438
actualKeyHash = Marshal.
PtrToStringUni
(issuerKeyBuffer.DangerousGetHandle());
System.Data (3)
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (1)
513
literalValue = Marshal.
PtrToStringUni
(Marshal.ReadIntPtr(literalInfo, 0));
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
528
info.idname = Marshal.
PtrToStringUni
(dbColumnInfo.columnid.ulPropid);
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
171
string sidString = Marshal.
PtrToStringUni
(sidStringBuffer);
System.Drawing (5)
commonui\System\Drawing\Advanced\ImageCodecInfo.cs (5)
276
codecs[index].CodecName = Marshal.
PtrToStringUni
(codecp.CodecName);
277
codecs[index].DllName = Marshal.
PtrToStringUni
(codecp.DllName);
278
codecs[index].FormatDescription = Marshal.
PtrToStringUni
(codecp.FormatDescription);
279
codecs[index].FilenameExtension = Marshal.
PtrToStringUni
(codecp.FilenameExtension);
280
codecs[index].MimeType = Marshal.
PtrToStringUni
(codecp.MimeType);
System.IdentityModel (5)
System\IdentityModel\SspiWrapper.cs (5)
184
Name = Marshal.
PtrToStringUni
(unmanagedString);
191
Comment = Marshal.
PtrToStringUni
(unmanagedString);
226
name = Marshal.
PtrToStringUni
(unmanagedString);
603
attribute = Marshal.
PtrToStringUni
(sspiHandle.DangerousGetHandle());
676
specifiedTarget = Marshal.
PtrToStringUni
(sspiHandle.DangerousGetHandle()) as string;
System.Messaging (6)
System\Messaging\Message.cs (1)
1659
this.machineName = Marshal.
PtrToStringUni
(memoryHandle);
System\Messaging\MessageQueue.cs (4)
751
description = Marshal.
PtrToStringUni
(handle);
1022
address = Marshal.
PtrToStringUni
(handle);
1188
description = Marshal.
PtrToStringUni
(handle);
2048
string path = Marshal.
PtrToStringUni
(stringPointer);
System\Messaging\MessageQueueEnumerator.cs (1)
207
currentItem = Marshal.
PtrToStringUni
(array[0].ptr);
System.Net (13)
net\PeerToPeer\Cloud.cs (1)
228
string nativeCloudName = Marshal.
PtrToStringUni
(cloudinfo.pwzCloudName);
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (3)
286
peerNearMe.Nickname = Marshal.
PtrToStringUni
(ppnm.pwzNickname); ;
333
Marshal.
PtrToStringUni
(pa.pwzDescription),
364
return new PeerEndPoint(IPEndPt, Marshal.
PtrToStringUni
(pe.pwzEndpointName));
net\PeerToPeer\Collaboration\PeerCollaboration.cs (2)
440
peerNearMe.Nickname = Marshal.
PtrToStringUni
(pnm.pwzNickname); ;
718
string description = Marshal.
PtrToStringUni
(pPeerApp->pwzDescription);
net\PeerToPeer\Collaboration\PeerContact.cs (1)
1083
string description = Marshal.
PtrToStringUni
(pPeerApp->pwzDescription);
net\PeerToPeer\PeerNameResolver.cs (4)
309
record.PeerName = new PeerName(Marshal.
PtrToStringUni
(pEndPointInfo->pwszPeerName));
310
string comment = Marshal.
PtrToStringUni
(pEndPointInfo->pwszComment);
675
record.PeerName = new PeerName(Marshal.
PtrToStringUni
(pEndPointInfo->pwszPeerName));
676
string comment = Marshal.
PtrToStringUni
(pEndPointInfo->pwszComment);
net\PeerToPeer\PeerToPeerException.cs (1)
112
string NativeMessage = Marshal.
PtrToStringUni
(NativeMessagePtr);
net\PeerToPeer\UnsafePeerToPeerMethods.cs (1)
189
return Marshal.
PtrToStringUni
(handle);
System.Security (4)
system\security\cryptography\cryptoapi.cs (2)
2529
container = Marshal.
PtrToStringUni
(pwszContainer);
2534
provider = Marshal.
PtrToStringUni
(pwszProvider);
system\security\cryptography\pkcs\pkcsutils.cs (2)
383
issuerSerial.IssuerName = Marshal.
PtrToStringUni
(ptr.DangerousGetHandle());
409
string octetString = Marshal.
PtrToStringUni
(decodedBlob.pbData);
System.ServiceModel (4)
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (1)
390
subqueues.Add(Marshal.
PtrToStringUni
(stringArrays[i]));
System\ServiceModel\Channels\PnrpPeerResolver.cs (3)
2155
querySet.Context = Marshal.
PtrToStringUni
(nativeQuerySet.lpszContext);
2157
querySet.ServiceInstanceName = Marshal.
PtrToStringUni
(nativeQuerySet.lpszServiceInstanceName);
2158
querySet.Comment = Marshal.
PtrToStringUni
(nativeQuerySet.lpszComment);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\MetabaseReader.cs (1)
152
return Marshal.
PtrToStringUni
(record.pbMDData);
System.Windows.Forms (14)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (7)
617
string issuerKeyHash = Marshal.
PtrToStringUni
(pIssuerKeyHash);
743
computedPublicKeyToken = HexStringToBytes(Marshal.
PtrToStringUni
(pComputedToken));
794
string issuerKeyHash = Marshal.
PtrToStringUni
(pIssuerKeyHash);
851
string publicKeyToken = Marshal.
PtrToStringUni
(pPublicKeyToken);
1337
m_hash = Marshal.
PtrToStringUni
(signerInfo.pwszHash);
1340
m_description = Marshal.
PtrToStringUni
(signerInfo.pwszDescription);
1343
m_descriptionUrl = Marshal.
PtrToStringUni
(signerInfo.pwszDescriptionUrl);
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (4)
1228
string issuerKeyHash = Marshal.
PtrToStringUni
(pIssuerKeyHash);
1373
computedPublicKeyToken = HexStringToBytes(Marshal.
PtrToStringUni
(pComputedToken));
1429
string issuerKeyHash = Marshal.
PtrToStringUni
(pIssuerKeyHash);
1542
string publicKeyToken = Marshal.
PtrToStringUni
(pPublicKeyToken);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
206
strs[i] = Marshal.
PtrToStringUni
(bstr);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\OleStrCAMarshaler.cs (1)
44
string item = Marshal.
PtrToStringUni
(addr);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4492
return Marshal.
PtrToStringUni
(val);
System.Workflow.ComponentModel (4)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (4)
862
typeRefName = Marshal.
PtrToStringUni
(typeRefNamePtr);
904
yield return String.Format("{0}, {1}, Version={2}.{3}.{4}.{5}, Culture={6}, PublicKeyToken={7}", typeRefName, Marshal.
PtrToStringUni
(assemblyName), assemblyMetadata.majorVersion, assemblyMetadata.minorVersion, assemblyMetadata.buildNumber, assemblyMetadata.revisionNumber, String.IsNullOrEmpty(Marshal.
PtrToStringUni
(assemblyMetadata.locale)) ? "neutral" : Marshal.
PtrToStringUni
(assemblyMetadata.locale), String.IsNullOrEmpty(publicKeyString) ? "null" : publicKeyString);
WindowsBase (3)
Base\MS\Internal\Interop\NativeStructs.cs (1)
78
return Marshal.
PtrToStringUni
(pointerVal);
Base\MS\Internal\Security\RightsManagement\CallbackHandler.cs (1)
101
_callbackData = Marshal.
PtrToStringUni
(pvParam);
Shared\MS\Win32\NativeMethodsCLR.cs (1)
4804
return Marshal.
PtrToStringUni
(val);
WsatUI (2)
MMCUI\WSATPropertySheet.cs (1)
173
value = Marshal.
PtrToStringUni
(stg.unionmember);
MMCUI\WsatSecurityModel.cs (1)
125
stringSecurityDescriptor = Marshal.
PtrToStringUni
(pszSD);