Метод | Описание | |
---|---|---|
DisableBrowserCache ( ) : void | ||
DisableDownloadCache ( ) : void | ||
GetCurrentTrustLevel ( ) : AspNetHostingPermissionLevel |
Gets the current Trust Level
|
|
GetEmailRegexExpression ( ) : string |
it is better to use this method than to directly use the constant above becuase this allows you to override the experession if needed to solve a problem
|
|
GetMaxLengthRegexValidationExpression ( int length ) : string | ||
GetRandomASPNET20machinekey ( ) : string | ||
GetRandomKey ( int bytelength ) : string | ||
GetRegexValidationForAllowedExtensions ( string pipeSeparatedExtensions ) : string | ||
GetRegexValidationForAllowedExtensionsJqueryFileUploader ( string pipeSeparatedExtensions ) : string | ||
IsValidEmailAddress ( string email ) : bool | ||
PreventCrossSiteScripting ( String html ) : string | ||
PreventCrossSiteScripting ( String html, String errorHeader ) : string | ||
PreventCrossSiteScripting ( String html, String errorHeader, bool removeMarkupOnFailure ) : string | ||
RemoveAngleBrackets ( string text ) : string | ||
RemoveMarkup ( string text ) : string | ||
SanitizeHtml ( String html ) : string |
Метод | Описание | |
---|---|---|
GetXssFilter ( ) : XssFilter |
public static DisableBrowserCache ( ) : void | ||
Результат | void |
public static DisableDownloadCache ( ) : void | ||
Результат | void |
public static GetCurrentTrustLevel ( ) : AspNetHostingPermissionLevel | ||
Результат | AspNetHostingPermissionLevel |
public static GetEmailRegexExpression ( ) : string | ||
Результат | string |
public static GetMaxLengthRegexValidationExpression ( int length ) : string | ||
length | int | |
Результат | string |
public static GetRandomASPNET20machinekey ( ) : string | ||
Результат | string |
public static GetRandomKey ( int bytelength ) : string | ||
bytelength | int | |
Результат | string |
public static GetRegexValidationForAllowedExtensions ( string pipeSeparatedExtensions ) : string | ||
pipeSeparatedExtensions | string | |
Результат | string |
public static GetRegexValidationForAllowedExtensionsJqueryFileUploader ( string pipeSeparatedExtensions ) : string | ||
pipeSeparatedExtensions | string | |
Результат | string |
public static IsValidEmailAddress ( string email ) : bool | ||
string | ||
Результат | bool |
public static PreventCrossSiteScripting ( String html ) : string | ||
html | String | |
Результат | string |
public static PreventCrossSiteScripting ( String html, String errorHeader ) : string | ||
html | String | |
errorHeader | String | |
Результат | string |
public static PreventCrossSiteScripting ( String html, String errorHeader, bool removeMarkupOnFailure ) : string | ||
html | String | |
errorHeader | String | |
removeMarkupOnFailure | bool | |
Результат | string |
public static RemoveAngleBrackets ( string text ) : string | ||
text | string | |
Результат | string |
public static RemoveMarkup ( string text ) : string | ||
text | string | |
Результат | string |
public static SanitizeHtml ( String html ) : string | ||
html | String | |
Результат | string |