Struct GEarthConnectOptions
Specifies the options used to connect to G-Earth.
public readonly record struct GEarthConnectOptions : IEquatable<GEarthConnectOptions>
- Implements
- Inherited Members
Constructors
GEarthConnectOptions(string?, int?, string?, string?)
Specifies the options used to connect to G-Earth.
public GEarthConnectOptions(string? Host = null, int? Port = null, string? FileName = null, string? Cookie = null)
Parameters
Host
stringThe host to connect to.
Port
int?The extension port to connect on.
FileName
stringThe filename of the extension.
Cookie
stringThe cookie value provided by and used to authenticate with G-Earth.
Properties
Cookie
The cookie value provided by and used to authenticate with G-Earth.
public string? Cookie { get; init; }
Property Value
FileName
The filename of the extension.
public string? FileName { get; init; }
Property Value
Host
The host to connect to.
public string? Host { get; init; }
Property Value
Port
The extension port to connect on.
public int? Port { get; init; }
Property Value
- int?
Methods
WithArgs(ReadOnlySpan<string>, bool)
public GEarthConnectOptions WithArgs(ReadOnlySpan<string> args, bool @override = false)
Parameters
args
ReadOnlySpan<string>override
bool