C# Class Granados.X11.XauthorityParser

.Xauthority file parser
ファイルを表示 Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return XauthorityEntry

XauthorityParser() public method

Constructor
public XauthorityParser ( ) : System
return System