Skip to main content

ManagementClientConfiguration

Log in to add to favourites

Syntax

C#
1
2
3
4
// Constructor. public ManagementClientConfiguration(string rootUrl, string clientId = null, string sharedSecret = null) { }

Properties

Example

C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Set the default settings which will be used when client instances are created without parameters. using Zengenti.Contensis.Management; var defaultConfiguration = new ManagementClientConfiguration( rootUrl: "http://cms.contensis.com", clientId: "651465e0-2fb8-4b0f-aa2f-1ab34cfe0513", sharedSecret: "2327d623-d44e-41ef-a837-717a626f4b75-098348eb-b0a6-4023-a64a-805536024dfb-1a558c9c-49dc-4709-9e8b-c203f60fda80" ); // Set the default settings. ManagementClient.Configure(defaultConfiguration); // The client instance will use the default settings. var client = ManagementClient.Create();

Still need help?

New support request