Esempio n. 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 ();
		}
Esempio n. 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 ();
		}
Esempio n. 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();
        }
Esempio n. 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();
        }