Files
Electron.NET/ElectronNET.API/HybridSupport.cs

22 lines
561 B
C#
Raw Normal View History

2017-10-23 21:24:05 +02:00
namespace ElectronNET.API
{
/// <summary>
///
/// </summary>
2017-10-23 21:24:05 +02:00
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>
2017-10-23 21:24:05 +02:00
public static bool IsElectronActive
{
get
{
return !string.IsNullOrEmpty(BridgeSettings.SocketPort);
}
}
}
}