static SystemInformation ()
		{
			if (Platform.IsMac)
				Instance = new MacSystemInformation ();
			else if (Platform.IsWindows)
				Instance = new WindowsSystemInformation ();
			else
				Instance = new LinuxSystemInformation ();
			
			SessionUuid = DateTime.UtcNow.Ticks.ToString ();
		}
		static SystemInformation ()
		{
			if (Platform.IsMac)
				Instance = new MacSystemInformation ();
			else if (Platform.IsWindows)
				Instance = new WindowsSystemInformation ();
			else
				Instance = new LinuxSystemInformation ();
			
			SessionUuid = Guid.NewGuid ().ToString ();
		}
Exemple #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();
        }
Exemple #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();
        }