コード例 #1
0
		static SystemInformation ()
		{
			if (Platform.IsMac)
				Instance = new MacSystemInformation ();
			else if (Platform.IsWindows)
				Instance = new WindowsSystemInformation ();
			else
				Instance = new LinuxSystemInformation ();
			
			SessionUuid = DateTime.UtcNow.Ticks.ToString ();
		}
コード例 #2
0
		static SystemInformation ()
		{
			if (Platform.IsMac)
				Instance = new MacSystemInformation ();
			else if (Platform.IsWindows)
				Instance = new WindowsSystemInformation ();
			else
				Instance = new LinuxSystemInformation ();
			
			SessionUuid = Guid.NewGuid ().ToString ();
		}
コード例 #3
0
        static SystemInformation()
        {
            if (Platform.IsMac)
            {
                Instance = new MacSystemInformation();
            }
            else if (Platform.IsWindows)
            {
                Instance = new WindowsSystemInformation();
            }
            else
            {
                Instance = new LinuxSystemInformation();
            }

            SessionUuid = DateTime.UtcNow.Ticks.ToString();
        }
コード例 #4
0
        static SystemInformation()
        {
            if (Platform.IsMac)
            {
                Instance = new MacSystemInformation();
            }
            else if (Platform.IsWindows)
            {
                Instance = new WindowsSystemInformation();
            }
            else
            {
                Instance = new LinuxSystemInformation();
            }

            SessionUuid = Guid.NewGuid().ToString();
        }