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