namespace ElectronNET.API
{
///
///
///
public static class BridgeSettings
{
///
/// Gets the socket port.
///
///
/// The socket port.
///
public static string SocketPort { get; internal set; }
///
/// Gets the web port.
///
///
/// The web port.
///
public static string WebPort { get; internal set; }
///
/// Manually set the port values instead of using the UseElectron extension method
///
///
///
public static void InitializePorts(int socketPort, int webPort)
{
SocketPort = socketPort.ToString();
WebPort = webPort.ToString();
}
}
}