NetCharts Server .NET Toolkit

HttpRequester.GenerateConnectionURL Method 

Generates a proper NetCharts Server URL based on the supplied paramters.

public static string GenerateConnectionURL(
   string server,
   short port,
   string project,
   string fileName,
   bool secure
);

Parameters

server
The name of the server where NetCharts Server is running.
port
The port NetCharts Server is listening on.
project
The name of the NetCharts Server project that contains the resource to request.
fileName
The location of the resource, off of the server root.
secure
Whether to make a secured connection to NetCharts Server.

Return Value

A properly formatted URL to the specified resource within NetCharts Server.

See Also

HttpRequester Class | NetChartsServer Namespace