#if !NET20

using System;
using System.Runtime.InteropServices;

namespace Apewer.WebSocket
{
    internal static class Runtime
    {
        public static bool IsRunningOnMono()
        {
            return Type.GetType("Mono.Runtime") != null;
        }

        public static bool IsRunningOnWindows()
        {
            //#if NET45 || NET40
            return true;
            //#else
            //return (RuntimeInformation.IsOSPlatform(OSPlatform.Windows));
            //#endif
        }
    }
}

#endif