mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-14 13:44:47 +00:00
31 lines
732 B
C#
31 lines
732 B
C#
namespace ElectronNET.API
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public static class BridgeSettings
|
|
{
|
|
/// <summary>
|
|
/// Gets the socket port.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The socket port.
|
|
/// </value>
|
|
public static string SocketPort { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// Gets the web port.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The web port.
|
|
/// </value>
|
|
public static string WebPort { get; internal set; }
|
|
|
|
public static void InitializePorts(int socketPort, int webPort)
|
|
{
|
|
SocketPort = socketPort.ToString();
|
|
WebPort = webPort.ToString();
|
|
}
|
|
}
|
|
}
|