mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-07 05:37:20 +00:00
22 lines
561 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
} |