35 references to StringFromWCharPtr
System.Web (35)
Configuration\ExpressServerConfig.cs (5)
124string appRoot = StringUtil.StringFromWCharPtr(pBstr, cBstr); 143string subVdir = (cBstr > 1) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null; 210username = (cBstrUserName > 0) ? StringUtil.StringFromWCharPtr(pBstrUserName, cBstrUserName) : null; 211password = (cBstrPassword > 0) ? StringUtil.StringFromWCharPtr(pBstrPassword, cBstrPassword) : null; 356appPath = (result == 0 && cBstr > 0) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null;
Configuration\NativeConfig.cs (2)
62siteName = (result == 0 && pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : String.Empty; 81physicalPath = (pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null;
Configuration\ProcessHostConfigUtils.cs (2)
62physicalPath = (pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null; 81siteName = (result == 0 && pBstr != IntPtr.Zero) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : String.Empty;
Configuration\ProcessHostMapPath.cs (1)
200appPath = (result == 0 && cBstr > 0) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null;
Configuration\ProcessHostServerConfig.cs (4)
114string appRoot = StringUtil.StringFromWCharPtr(pBstr, cBstr); 133string subVdir = (cBstr > 1) ? StringUtil.StringFromWCharPtr(pBstr, cBstr) : null; 201username = (cBstrUserName > 0) ? StringUtil.StringFromWCharPtr(pBstrUserName, cBstrUserName) : null; 202password = (cBstrPassword > 0) ? StringUtil.StringFromWCharPtr(pBstrPassword, cBstrPassword) : null;
Hosting\IIS7WorkerRequest.cs (14)
150_cacheUrl = (cacheUrlBufferSize <= 0) ? null : StringUtil.StringFromWCharPtr(cacheUrl, cacheUrlBufferSize); 151_pathTranslated = (pathTranslatedBufferSize <= 0) ? String.Empty : StringUtil.StringFromWCharPtr(pathTranslatedBuffer, pathTranslatedBufferSize); 211_appPath = StringUtil.StringFromWCharPtr(virtAddr, virtLen); 212_appPathTranslated = StringUtil.StringFromWCharPtr(physAddr, physLen); 309uri = StringUtil.StringFromWCharPtr(buffer, bufSize); 346return StringUtil.StringFromWCharPtr(buffer, len); 1180return StringUtil.StringFromWCharPtr(buffer, bufLen); 1198moduleName = StringUtil.StringFromWCharPtr(buffer, bufferSize); 1545handlerTypeString = StringUtil.StringFromWCharPtr(buffer, bufferSize); 1587handlerTypeString = StringUtil.StringFromWCharPtr(buffer, bufferSize); 1604handlerTypeString = StringUtil.StringFromWCharPtr(buffer, bufferSize); 2107value = StringUtil.StringFromWCharPtr(pValue, UnsafeNativeMethods.lstrlenW(pValue)); 2272userName = StringUtil.StringFromWCharPtr(pUserName, cchUserName); 2277authType = StringUtil.StringFromWCharPtr(pAuthType, cchAuthType);
Hosting\IPipelineRuntime.cs (1)
431isInRole = principal.IsInRole(StringUtil.StringFromWCharPtr(pszRole, cchRole));
HttpApplication.cs (3)
2879string moduleName = (cBstrModuleName > 0) ? StringUtil.StringFromWCharPtr(pBstrModuleName, cBstrModuleName) : null; 2880string moduleType = (cBstrModuleType > 0) ? StringUtil.StringFromWCharPtr(pBstrModuleType, cBstrModuleType) : null; 2881string modulePrecondition = (cBstrModulePrecondition > 0) ? StringUtil.StringFromWCharPtr(pBstrModulePrecondition, cBstrModulePrecondition) : String.Empty;
HttpContext.cs (1)
535eurl = StringUtil.StringFromWCharPtr(pBuffer, UnsafeNativeMethods.lstrlenW(pBuffer));
MimeMapping.cs (2)
477string fileExtension = (cBstrFileExtension > 0) ? StringUtil.StringFromWCharPtr(bstrFileExtension, cBstrFileExtension) : null; 478string mimeType = (cBstrMimeType > 0) ? StringUtil.StringFromWCharPtr(bstrMimeType, cBstrMimeType) : null;