Web utilities.

Contains utility methods for Web functionality.

Methods

Name Description
AddCertificateToRequest Adds a Certificate to a Web Request.
AddProxyServerToBinding Adds a Proxy Server to a Http Binding.
AddProxyServerToRequest Adds a Proxy Server to a Web Request.
DeserialiseJsonString System Use Only Deserialises a JSON String into a JObject.
DeserialiseJsonStringToDate Deserialises a JSON String into a Date.
DeserialiseJsonStringToObject Deserialises a JSON String into an Object.
DeserialiseXmlStringToObject Deserialises an XML String into an Object.
DetectProxyServer Attempt to detect the Proxy Server settings held in the Windows registry.
GetCertificate Retrieves a client certificate.
GetCertificateFromBase64String Get a Client Certificate from a base-64 encoded String.
GetCertificateList Retrieve a list of client certificate names from the current User's certificate store.
GetHostingService System Use Only Attempt to get information about the Hosting Service, e.g., Azure or Amazon Web Services.
GetHttpContentTypeFromFileExtension Get an HTTP Content Type from the specified File Extension.
GetWebResponseText Returns the text from a web response.
RestoreGlobalDefaultProxy Restores the Global 'Default' Web Proxy. Typically used with the globalDefaultWebProxy parameter returned in SetGlobalDefaultProxy.
SerialiseObjectToJsonString
SerialiseObjectToXmlString
ServerMapPath Performs a Server.MapPath call which, when running on a Web Server will resolve paths such as "~/App_Data/test.txt".
SetGlobalDefaultProxy Set the Global 'Default' Web Proxy.
VerifyCertificate Verifies the certificate exists. If it does then various information about the certificate is returned in the By Ref parameters.
VerifyCertificateFromBase64String Verifies a base-64 encoded certificate and returns information in the By Ref parameters.
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0