diff --git a/CefSharp.Core.Runtime/Cef.h b/CefSharp.Core.Runtime/Cef.h index 909b78a2f7..e6673b6393 100644 --- a/CefSharp.Core.Runtime/Cef.h +++ b/CefSharp.Core.Runtime/Cef.h @@ -94,6 +94,16 @@ namespace CefSharp } } + /// Gets a value that indicates whether CefSharp was shutdown. + /// true if CefSharp was shutdown; otherwise, false. + static property bool IsShutdown + { + bool get() + { + return _hasShutdown; + } + } + /// Gets a value that indicates the version of CefSharp currently being used. /// The CefSharp version. static property String^ CefSharpVersion diff --git a/CefSharp.Core/Cef.cs b/CefSharp.Core/Cef.cs index 87649ddae9..a5b79024ab 100644 --- a/CefSharp.Core/Cef.cs +++ b/CefSharp.Core/Cef.cs @@ -47,6 +47,13 @@ public static bool IsInitialized get { return Core.Cef.IsInitialized; } } + /// Gets a value that indicates whether CefSharp was shutdown. + /// true if CefSharp was shutdown; otherwise, false. + public static bool IsShutdown + { + get { return Core.Cef.IsShutdown; } + } + /// Gets a value that indicates the version of CefSharp currently being used. /// The CefSharp version. public static string CefSharpVersion