2017-10-23 21:24:05 +02:00
|
|
|
|
namespace ElectronNET.API
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2017-10-23 21:24:05 +02:00
|
|
|
|
public static class HybridSupport
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <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
|
|
|
|
|
|
{
|
2025-10-13 13:20:23 +02:00
|
|
|
|
return ElectronNetRuntime.RuntimeController != null;
|
2017-10-23 21:24:05 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|