// /*************************************************************************** // Aaru Data Preservation Suite // ---------------------------------------------------------------------------- // // Filename : PlatformID.cs // Author(s) : Natalia Portillo // // Component : Interop services. // // --[ Description ] ---------------------------------------------------------- // // Contains an enhanced PlatformID enumeration. // // --[ License ] -------------------------------------------------------------- // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // // ---------------------------------------------------------------------------- // Copyright © 2011-2020 Natalia Portillo // ****************************************************************************/ using System.Diagnostics.CodeAnalysis; namespace Aaru.CommonTypes.Interop { /// Contains an arbitrary list of OSes, even if .NET does not run on them [SuppressMessage("ReSharper", "InconsistentNaming")] public enum PlatformID { /// Win32s Win32S = 0, /// Win32 (Windows 9x) Win32Windows = 1, /// Windows NT Win32NT = 2, /// Windows Mobile WinCE = 3, /// UNIX (do not use, too generic) Unix = 4, /// Xbox 360 Xbox = 5, /// OS X MacOSX = 6, /// iOS is not OS X iOS = 7, /// Linux Linux = 8, /// Sun Solaris Solaris = 9, /// NetBSD NetBSD = 10, /// OpenBSD OpenBSD = 11, /// FreeBSD FreeBSD = 12, /// DragonFly BSD DragonFly = 13, /// Nintendo Wii Wii = 14, /// Nintendo Wii U WiiU = 15, /// Sony PlayStation 3 PlayStation3 = 16, /// Sony Playstation 4 PlayStation4 = 17, /// Google Android Android = 18, /// Samsung Tizen Tizen = 19, /// Windows Phone WindowsPhone = 20, /// GNU/Hurd Hurd = 21, /// Haiku Haiku = 22, /// HP-UX HPUX = 23, /// AIX AIX = 24, /// OS/400 OS400 = 25, /// IRIX IRIX = 26, /// Minix Minix = 27, /// NonStop NonStop = 28, /// QNX QNX = 29, /// SINIX SINIX = 30, /// Tru64 UNIX Tru64 = 31, /// Ultrix Ultrix = 32, /// SCO OpenServer / SCO UNIX OpenServer = 33, /// SCO UnixWare UnixWare = 34, /// IBM z/OS zOS = 35, Unknown = -1 } }