Click or drag to resize
ServiceConnectionCreate Method (Uri, HttpMessageHandler, ProductInfoHeaderValue)
Creates a connection for the specified service URI without a log in.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.7 [UNOFFICIAL BUILD]
Syntax
C#
public static ServiceConnection Create(
	Uri serviceUri,
	HttpMessageHandler httpClientHandler = null,
	ProductInfoHeaderValue[] userAgent = null
)

Parameters

serviceUri
Type: SystemUri
The service URI.
httpClientHandler (Optional)
Type: System.Net.HttpHttpMessageHandler
The HTTP message handler.
userAgent (Optional)
Type: System.Net.Http.HeadersProductInfoHeaderValue
The parts of the user agent header. You should specify these values in order to identify you application. If this parameter is set to null then the process name and version of you application is used as user agent string. If you do not want to submit any user agent, you must set this parameter to an empty array.

Return Value

Type: ServiceConnection
A proxy which handles further requests.
See Also