17 references to PtrToStringUni
mscorlib (4)
system\runtime\interopservices\marshal.cs (2)
169
return
PtrToStringUni
(ptr, len);
2216
return
PtrToStringUni
(ptr, (int)Win32Native.SysStringLen(ptr));
system\security\principal\sid.cs (2)
1024
ReferencedDomains[i] = Marshal.
PtrToStringUni
(ti.Name.Buffer, ti.Name.Length / sizeof(char));
1041
string account = Marshal.
PtrToStringUni
(Ltn.Name.Buffer, Ltn.Name.Length / sizeof(char)); ;
System (4)
net\System\Net\HttpListenerRequest.cs (3)
270
m_CookedUrlHost = Marshal.
PtrToStringUni
((IntPtr)cookedUrl.pHost, cookedUrl.HostLength / 2);
273
m_CookedUrlPath = Marshal.
PtrToStringUni
((IntPtr)cookedUrl.pAbsPath, cookedUrl.AbsPathLength / 2);
276
m_CookedUrlQuery = Marshal.
PtrToStringUni
((IntPtr)cookedUrl.pQueryString, cookedUrl.QueryStringLength / 2);
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
1179
string processName = GetProcessShortName(Marshal.
PtrToStringUni
(pi.NamePtr, pi.NameLength/sizeof(char)));
System.Data (3)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
651
value = Marshal.
PtrToStringUni
(ptr, charCount);
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (2)
79
value = Marshal.
PtrToStringUni
(ptr, length);
102
value = Marshal.
PtrToStringUni
(ptr, length);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\MetabaseReader.cs (1)
200
list.Add(Marshal.
PtrToStringUni
(new IntPtr(record.pbMDData.ToInt64() + startPos),
System.Web (4)
Hosting\ISAPIWorkerRequest.cs (4)
2181
_basicServerVars[i] = Marshal.
PtrToStringUni
(current, serverVarLengths[i]);
2225
_additionalServerVars[i] = Marshal.
PtrToStringUni
(current, serverVarLengths[i]);
2282
return Marshal.
PtrToStringUni
(buffer.PinnedAddress, r);
2298
return Marshal.
PtrToStringUni
(buffer.PinnedAddress, r);
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\SafeCoTaskMem.cs (1)
43
return Marshal.
PtrToStringUni
(handle, length);