NetCharts Server .NET Toolkit

HttpRequester.PerformRequest Method (String, Int16, String, String, String, String, String)

Makes a request to NetCharts Server. The userName and userPassword parameters allow for secured resources to be accessed.

public byte[] PerformRequest(
   string server,
   short port,
   string project,
   string fileName,
   string postData,
   string userName,
   string userPassword
);

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.
postData
The HTTP post data, in the format: param1=value&param2=value&...
userName
The name of a user with authorization access to the resource being requested.
userPassword
The password of the user with authorization access to the resource being requested.

Return Value

The byte array of the response from NetCharts Server.

See Also

HttpRequester Class | NetChartsServer Namespace | HttpRequester.PerformRequest Overload List