C# Class SteamDroidServer.Users

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

Méthodes publiques

Méthode 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

Méthode Description
LoadUsers ( ) : void

Loads the allowed file and imports the users

Method Details

Instance() public static méthode

Returns the Users object
public static Instance ( ) : Users
Résultat Users

IsAllowed() public méthode

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

Users() public méthode

public Users ( ) : System
Résultat System