using Quobject.SocketIoClientDotNet.Client;
namespace ElectronNET.API
{
///
///
///
public static class HybridSupport
{
///
/// Gets a value indicating whether this instance is electron active.
///
///
/// true if this instance is electron active; otherwise, false.
///
public static bool IsElectronActive
{
get
{
return !string.IsNullOrEmpty(BridgeSettings.SocketPort);
}
}
///
///
///
public static Socket Socket { get { return BridgeConnector.Socket; } }
}
}