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