Files
Electron.NET/ElectronNET.API/HybridSupport.cs
2020-08-21 12:27:31 +02:00

22 lines
561 B
C#

namespace ElectronNET.API
{
/// <summary>
///
/// </summary>
public static class HybridSupport
{
/// <summary>
/// Gets a value indicating whether this instance is electron active.
/// </summary>
/// <value>
/// <c>true</c> if this instance is electron active; otherwise, <c>false</c>.
/// </value>
public static bool IsElectronActive
{
get
{
return !string.IsNullOrEmpty(BridgeSettings.SocketPort);
}
}
}
}