C# Class Granados.X11.XauthorityParser

.Xauthority file parser
Afficher le fichier Open project: poderosaproject/poderosa Class Usage Examples

Méthodes publiques

Méthode Description
FindBest ( string xauthFile, int display ) : XauthorityEntry

Find an entry which is most matched to the display number and the connection type.

XauthorityParser ( ) : System

Constructor

Private Methods

Méthode Description
ReadBytes ( Stream fs, int maxLength, byte &val ) : bool
ReadEntries ( string xauthFile ) : Granados.X11.XauthorityEntry[]
ReadNumber ( Stream fs, int maxLength, int &val ) : bool
ReadString ( Stream fs, int maxLength, string &val ) : bool
ReadUInt16BE ( Stream fs, ushort &val ) : bool

Method Details

FindBest() public méthode

Find an entry which is most matched to the display number and the connection type.
public FindBest ( string xauthFile, int display ) : XauthorityEntry
xauthFile string path to the .Xauthority file
display int display number
Résultat XauthorityEntry

XauthorityParser() public méthode

Constructor
public XauthorityParser ( ) : System
Résultat System