SmartFoxServer Silverlight API
httpPort Field
Namespaces ► SmartFoxClientAPI ► SmartFoxClient ► httpPort
The TCP port used by the embedded webserver.
The default port is 8080; if the webserver is listening on a different port number, this property should be set to that value.
Declaration Syntax

C# | Visual Basic | Visual C++

    public int httpPort

    Public httpPort As Integer

    public:
    int httpPort

Remarks

Since:
SmartFoxServer Pro v1.5.0

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to retrieve the webserver's current http port.
CopyC#

    Debug.WriteLine("HTTP port is: " + smartfox.httpPort);

See Also
UploadFile(String, Int32, String, Int32)

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)