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