|Manuals

Server Constructor

Initializes a new instance of the Server class.

Description

The Server() constructor is a public parameterless constructor that initializes a new instance of the Server class. When creating the instance, it automatically invokes the Load() method to load the configuration from file.

Syntax

public Server();

Example

// Create a new server instance
Server server = new Server();

// Configuration is already loaded automatically
Console.WriteLine(server.License);

See Also