Example #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 ();
		}
Example #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 ();
		}
Example #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();
        }
Example #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();
        }