Show / Hide Table of Contents

    Class PlatformClientConfiguration

    A interface which is used to calculate a hash to identify the machine or device the application is running.

    Inheritance
    System.Object
    PlatformClientConfiguration
    Namespace: DocuWare.Platform.ServerClient
    Assembly: DocuWare.Platform.ServerClient.dll
    Syntax
    public abstract class PlatformClientConfiguration : object

    Properties

    DefaultProductInfoHeader

    Gets or sets the default product information header.

    Declaration
    public static ProductInfoHeaderValue DefaultProductInfoHeader { get; set; }
    Property Value
    Type Description
    ProductInfoHeaderValue

    The default product information header.

    Methods

    AddProductInfoHeaderValueOfExecutingApplication(HttpHeaderValueCollection<ProductInfoHeaderValue>)

    Gets the product information header value of executing application.

    Declaration
    public virtual void AddProductInfoHeaderValueOfExecutingApplication(HttpHeaderValueCollection<ProductInfoHeaderValue> userAgent)
    Parameters
    Type Name Description
    HttpHeaderValueCollection<ProductInfoHeaderValue> userAgent

    CreateDefaultHttpMessageHandler()

    Creates the default HTTP message handler.

    Declaration
    public abstract HttpMessageHandler CreateDefaultHttpMessageHandler()
    Returns
    Type Description
    HttpMessageHandler

    The default message handler which is used when connection to a service in case there is no explicit handler given.

    CreateHandlerForNTLMAuthentication(System.Net.ICredentials)

    Creates a instance for handling NTLM authentication.

    Declaration
    public virtual HttpClientHandler CreateHandlerForNTLMAuthentication(System.Net.ICredentials credentials)
    Parameters
    Type Name Description
    System.Net.ICredentials credentials

    The credentials.

    Returns
    Type Description
    HttpClientHandler

    instance which uses the specified credentials.

    CreateHandlerForNTLMAuthentication(Uri, String, String, String)

    Creates a instance for handling NTLM authentication.

    Declaration
    public virtual HttpClientHandler CreateHandlerForNTLMAuthentication(Uri serviceUri, string userName, string password, string domain = null)
    Parameters
    Type Name Description
    Uri serviceUri

    The service URI.

    System.String userName

    Name of the user.

    System.String password

    The password.

    System.String domain

    The domain.

    Returns
    Type Description
    HttpClientHandler

    instance which uses the specified credentials.

    GetHostId()

    Gets the host identifier.

    Declaration
    public abstract string GetHostId()
    Returns
    Type Description
    System.String

    A hash identifying the machine or device the application is running.

    GetRequestTimeout()

    Gets the request timeout.

    Declaration
    public virtual int? GetRequestTimeout()
    Returns
    Type Description
    System.Nullable<System.Int32>

    The timeout in milliseconds for a request or null if the request timeout is not explicitely set.

    About Us Contact Imprint Terms Data privacy
    © 2024 DocuWare Corporation powered by DocFX Back to top