C# Class SteamDroidServer.Users

Users handles the allowed users on the server, which are read from the allowed file
Mostrar archivo Open project: FlyingPie/SteamDroid Class Usage Examples

Public Methods

Method Description
Instance ( ) : Users

Returns the Users object

IsAllowed ( String user ) : bool

Returns whether the specified user is allowed to connect to the server

Users ( ) : System

Private Methods

Method Description
LoadUsers ( ) : void

Loads the allowed file and imports the users

Method Details

Instance() public static method

Returns the Users object
public static Instance ( ) : Users
return Users

IsAllowed() public method

Returns whether the specified user is allowed to connect to the server
public IsAllowed ( String user ) : bool
user String The user to check for
return bool

Users() public method

public Users ( ) : System
return System