Table of Contents

Class PlatformClientConfiguration

Namespace
DocuWare.Platform.ServerClient
Assembly
DocuWare.Platform.ServerClient.dll

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

public abstract class PlatformClientConfiguration
Inheritance
PlatformClientConfiguration
Inherited Members

Properties

DefaultProductInfoHeader

Gets or sets the default product information header.

public static ProductInfoHeaderValue DefaultProductInfoHeader { get; set; }

Property Value

TypeDescription
ProductInfoHeaderValue

The default product information header.

Methods

AddProductInfoHeaderValueOfExecutingApplication(HttpHeaderValueCollection<ProductInfoHeaderValue>)

Gets the product information header value of executing application.

public abstract void AddProductInfoHeaderValueOfExecutingApplication(HttpHeaderValueCollection<ProductInfoHeaderValue> userAgent)

Parameters

TypeNameDescription
HttpHeaderValueCollection<ProductInfoHeaderValue>userAgent

CreateDefaultCircuitBreakerPolicyOptions()

Creates the default circuit breaker policy options.

public abstract CircuitBreakerPolicyOptions CreateDefaultCircuitBreakerPolicyOptions()

Returns

TypeDescription
CircuitBreakerPolicyOptions

The default circuit breaker policy options.

CreateDefaultHttpMessageHandler()

Creates the default HTTP message handler.

public abstract HttpMessageHandler CreateDefaultHttpMessageHandler()

Returns

TypeDescription
HttpMessageHandler

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

CreateDefaultRetryPolicyOptions()

Creates the default retry policy options.

public abstract RetryPolicyOptions CreateDefaultRetryPolicyOptions()

Returns

TypeDescription
RetryPolicyOptions

The default retry policy options.

CreateHandlerForNTLMAuthentication(ICredentials)

Creates a HttpClientHandler instance for handling NTLM authentication.

public abstract HttpClientHandler CreateHandlerForNTLMAuthentication(ICredentials credentials)

Parameters

TypeNameDescription
ICredentialscredentials

The credentials.

Returns

TypeDescription
HttpClientHandler

HttpClientHandler instance which uses the specified credentials.

CreateHandlerForNTLMAuthentication(Uri, string, string, string)

Creates a HttpClientHandler instance for handling NTLM authentication.

public abstract HttpClientHandler CreateHandlerForNTLMAuthentication(Uri serviceUri, string userName, string password, string domain = null)

Parameters

TypeNameDescription
UriserviceUri

The service URI.

stringuserName

Name of the user.

stringpassword

The password.

stringdomain

The domain.

Returns

TypeDescription
HttpClientHandler

HttpClientHandler instance which uses the specified credentials.

GetHostId()

Gets the host identifier.

public abstract string GetHostId()

Returns

TypeDescription
string

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

GetRequestTimeout()

Gets the request timeout.

public abstract int? GetRequestTimeout()

Returns

TypeDescription
int?

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