Class WindowsInfo
Expone información detallada sobre Windows.
Inherited Members
Namespace: TheXDS.MCART.Component
Assembly: MCART.Windows.dll
Syntax
public class WindowsInfo : IExposeInfo, INameable, IDescriptible
Properties
| Edit this page View SourceAuthors
Obtiene al fabricante del sistema operativo.
Declaration
public IEnumerable<string> Authors { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
BootDevice
Obtiene una cadena que representa el dispositivo de arranque del equipo.
Declaration
public string BootDevice { get; }
Property Value
Type | Description |
---|---|
string |
BuildBranch
Obtiene una cadena que representa la rama de compilación desde la cual se origina esta versión de Windows.
Declaration
public string BuildBranch { get; }
Property Value
Type | Description |
---|---|
string |
BuildGUID
Obtiene un Guid que identifica a esta versión de Windows.
Declaration
public Guid BuildGUID { get; }
Property Value
Type | Description |
---|---|
Guid |
BuildLab
Obtiene una cadena que representa el laboratorio de compilación desde el cual se origina esta versión de Windows.
Declaration
public string BuildLab { get; }
Property Value
Type | Description |
---|---|
string |
BuildLabEx
Obtiene una cadena con formato extendido que representa el laboratorio de compilación desde el cual se origina esta versión de Windows.
Declaration
public string BuildLabEx { get; }
Property Value
Type | Description |
---|---|
string |
BuildNumber
Obtiene una cadena que representa el número de compilación de Windows.
Declaration
public string BuildNumber { get; }
Property Value
Type | Description |
---|---|
string |
BuildType
Obtiene una cadena que representa el tipo de compilación de Windows.
Declaration
public string BuildType { get; }
Property Value
Type | Description |
---|---|
string |
Caption
Obtiene una etiqueta para esta versión de Windows.
Declaration
public string Caption { get; }
Property Value
Type | Description |
---|---|
string |
ClsCompliant
Obtiene un valor que indica si Windows cumple con el CLS.
Declaration
public bool ClsCompliant { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Esta función siempre devolverá false, debido a que grandes porciones de Microsoft Windows fueron escritas utilizando C/C++, y no C# u otros lenguajes CLR.
CodeSet
Obtiene una cadena que representa la página de códigos configurada para Windows.
Declaration
public string CodeSet { get; }
Property Value
Type | Description |
---|---|
string |
Copyright
Obtiene la nota de copyright asociada a Windows.
Declaration
public string Copyright { get; }
Property Value
Type | Description |
---|---|
string |
CountryCode
Obtiene el código de país configurado para esta instancia de Windows.
Declaration
public string CountryCode { get; }
Property Value
Type | Description |
---|---|
string |
CurrentTimeZone
Obtiene la zona horaria actualmente configurada en Windows.
Declaration
public short CurrentTimeZone { get; }
Property Value
Type | Description |
---|---|
short |
DEP32bit
Obtiene un valor que indica si DEP se encuentra habilitado para aplicaciones de 32 bits.
Declaration
public bool DEP32bit { get; }
Property Value
Type | Description |
---|---|
bool |
DEPAvailable
Obtiene un valor que indica si DEP se encuentra habilitado.
Declaration
public bool DEPAvailable { get; }
Property Value
Type | Description |
---|---|
bool |
DEPDrivers
Obtiene un valor que indica la presencia de controladores DEP en el sistema.
Declaration
public bool DEPDrivers { get; }
Property Value
Type | Description |
---|---|
bool |
DEPPolicy
Obtiene un valor que representa la política DEP activa en el equipo.
Declaration
public byte DEPPolicy { get; }
Property Value
Type | Description |
---|---|
byte |
Debug
Obtiene un valor que indica si esta versión de Windows se ha iniciado con depuración de Kernel activada.
Declaration
public bool Debug { get; }
Property Value
Type | Description |
---|---|
bool |
Description
Obtiene una cadena que describe a esta versión de Windows.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string |
Distributed
Obtiene un valor que indica si Windows se está ejecutando en un entorno distribuido.
Declaration
public bool Distributed { get; }
Property Value
Type | Description |
---|---|
bool |
EditionID
Obtiene un valor que representa la edición de esta instancia de Windows.
Declaration
public string EditionID { get; }
Property Value
Type | Description |
---|---|
string |
EncryptionLevel
Obtiene un valor que representa el nivel de encriptado del sistema.
Declaration
[CLSCompliant(false)]
public uint EncryptionLevel { get; }
Property Value
Type | Description |
---|---|
uint |
FirmwareType
Obtiene el tipo de firmware con el cual el equipo ha sido arrancado.
Declaration
public FirmwareType FirmwareType { get; }
Property Value
Type | Description |
---|---|
FirmwareType |
ForegroundApplicationBoost
Obtiene un valor que indica la cantidad de "empuje" adicional que una aplicación en primer plano recibirá por parte del sistema operativo.
Declaration
public byte ForegroundApplicationBoost { get; }
Property Value
Type | Description |
---|---|
byte |
FreePhysicalMemory
Obtiene un valor que indica la cantidad de memoria física disponible, en bytes.
Declaration
[CLSCompliant(false)]
public ulong FreePhysicalMemory { get; }
Property Value
Type | Description |
---|---|
ulong |
FreeSpaceInPagingFiles
Obtiene la cantidad de espacio en bytes que existe en archivos de paginación.
Declaration
[CLSCompliant(false)]
public ulong FreeSpaceInPagingFiles { get; }
Property Value
Type | Description |
---|---|
ulong |
FreeVirtualMemory
Obtiene la cantidad de memoria virtual disponible para el sistema, en bytes.
Declaration
[CLSCompliant(false)]
public ulong FreeVirtualMemory { get; }
Property Value
Type | Description |
---|---|
ulong |
Has3rdPartyLicense
Obtiene un valor que indica si Microsoft Windows incluye licencias de terceros.
Declaration
public bool Has3rdPartyLicense { get; }
Property Value
Type | Description |
---|---|
bool |
HasLicense
Obtiene un valor que determina si Windows incluye un CLUF
Declaration
public bool HasLicense { get; }
Property Value
Type | Description |
---|---|
bool |
InformationalVersion
Obtiene la versión descriptiva informacional de Windows.
Declaration
public string? InformationalVersion { get; }
Property Value
Type | Description |
---|---|
string |
InstallDate
Obtiene la fecha y hora de instalación de Windows en este equipo.
Declaration
public DateTime InstallDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
InstallationType
Obtiene una cadena que representa el tipo de instalación de esta instancia de Windows.
Declaration
public string InstallationType { get; }
Property Value
Type | Description |
---|---|
string |
LastBootUpTime
Obtiene la fecha y hora del último arranque del equipo.
Declaration
public DateTime LastBootUpTime { get; }
Property Value
Type | Description |
---|---|
DateTime |
License
Obtiene el texto de licencia asociado a Windows.
Declaration
public License License { get; }
Property Value
Type | Description |
---|---|
License |
LocalDateTime
Obtiene la fecha y hora locales del equipo a partir de la información reportada por WMI.
Declaration
public DateTime LocalDateTime { get; }
Property Value
Type | Description |
---|---|
DateTime |
Locale
Obtiene una cadena que representa el lenguaje local del equipo.
Declaration
public string Locale { get; }
Property Value
Type | Description |
---|---|
string |
MUILanguages
Obtiene una colección de los lenguajes MUI disponibles en esta instalación de Windows.
Declaration
public string[] MUILanguages { get; }
Property Value
Type | Description |
---|---|
string[] |
Manufacturer
Obtiene el nombre del fabricante del equipo.
Declaration
public string Manufacturer { get; }
Property Value
Type | Description |
---|---|
string |
MaxNumberOfProcesses
Obtiene la cantidad máxima de procesos que el sistema operativo es capaz de gestionar.
Declaration
[CLSCompliant(false)]
public uint MaxNumberOfProcesses { get; }
Property Value
Type | Description |
---|---|
uint |
MaxProcessMemorySize
Obtiene el tamaño máximo de memoria que se le puede asignar a un proceso en este equipo.
Declaration
[CLSCompliant(false)]
public uint MaxProcessMemorySize { get; }
Property Value
Type | Description |
---|---|
uint |
Name
Obtiene un nombre descriptivo para esta instalación de Windows.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
NumberOfProcesses
Obtiene la cantidad de procesos existentes actualmente en el sistema.
Declaration
[CLSCompliant(false)]
public uint NumberOfProcesses { get; }
Property Value
Type | Description |
---|---|
uint |
NumberOfUsers
Obtiene la cantidad de usuarios registrados en el sistema.
Declaration
[CLSCompliant(false)]
public uint NumberOfUsers { get; }
Property Value
Type | Description |
---|---|
uint |
OSArchitecture
Obtiene el nombre de la arquitectura del sistema operativo.
Declaration
public string OSArchitecture { get; }
Property Value
Type | Description |
---|---|
string |
OSLanguage
Obtiene un valor que representa el idioma del sistema operativo.
Declaration
[CLSCompliant(false)]
public uint OSLanguage { get; }
Property Value
Type | Description |
---|---|
uint |
OSProductSuite
Obtiene un valor que describe la suite de productos a la cual pertenece este sistema operativo.
Declaration
[CLSCompliant(false)]
public uint OSProductSuite { get; }
Property Value
Type | Description |
---|---|
uint |
OSType
Obtiene un valor que representa el tipo de sistema operativo.
Declaration
[CLSCompliant(false)]
public ushort OSType { get; }
Property Value
Type | Description |
---|---|
ushort |
OperatingSystemSKU
Obtiene un número de producto (SKU) que identifica a Windows.
Declaration
[CLSCompliant(false)]
public uint OperatingSystemSKU { get; }
Property Value
Type | Description |
---|---|
uint |
Organization
Obtiene el nombre de la organización registrada en el equipo.
Declaration
public string Organization { get; }
Property Value
Type | Description |
---|---|
string |
PortableOperatingSystem
Obtiene un valor que indica si este sistema operativo es portátil.
Declaration
public bool PortableOperatingSystem { get; }
Property Value
Type | Description |
---|---|
bool |
Primary
Obtiene el valor "Primary" desde la instrumentación de Windows.
Declaration
public bool Primary { get; }
Property Value
Type | Description |
---|---|
bool | El valor "Primary" desde la instrumentación de Windows. |
ProductType
Obtiene un valor que representa el tipo de producto que es este sistema operativo.
Declaration
[CLSCompliant(false)]
public uint ProductType { get; }
Property Value
Type | Description |
---|---|
uint |
RegisteredUser
Obtiene el nombre del usuario registrado en Windows.
Declaration
public string RegisteredUser { get; }
Property Value
Type | Description |
---|---|
string |
ReleaseId
Obtiene una cadena que identifica a la distribución de esta versión de Windows.
Declaration
public string ReleaseId { get; }
Property Value
Type | Description |
---|---|
string |
SerialNumber
Obtiene el número de serie del equipo.
Declaration
public string SerialNumber { get; }
Property Value
Type | Description |
---|---|
string |
ServicePackMajorVersion
Obtiene el número mayor de Service Pack de Windows.
Declaration
[CLSCompliant(false)]
[Obsolete("Desde Windows 10 ya no se proporcionan números de versión de Service Pack.")]
public ushort ServicePackMajorVersion { get; }
Property Value
Type | Description |
---|---|
ushort |
ServicePackMinorVersion
Obtiene el número menor de Service Pack de Windows.
Declaration
[CLSCompliant(false)]
[Obsolete("Desde Windows 10 ya no se proporcionan números de versión de Service Pack.")]
public ushort ServicePackMinorVersion { get; }
Property Value
Type | Description |
---|---|
ushort |
SizeStoredInPagingFiles
Obtiene el tamaño ocupado por los archivos de paginación en el almacenamiento local del equipo.
Declaration
[CLSCompliant(false)]
public ulong SizeStoredInPagingFiles { get; }
Property Value
Type | Description |
---|---|
ulong |
Status
Obtiene una cadena que representa el estado actual del sistema operativo.
Declaration
public string Status { get; }
Property Value
Type | Description |
---|---|
string |
SuiteMask
Obtiene un valor que se puede utilizar para determinar el valor de Suite del sistema operativo al ser aplicado como una máscara sobre OSProductSuite.
Declaration
[CLSCompliant(false)]
public uint SuiteMask { get; }
Property Value
Type | Description |
---|---|
uint |
SystemDevice
Obtiene una cadena que representa al dispositivo de almacenamiento donde se encuentra instalado Windows.
Declaration
public string SystemDevice { get; }
Property Value
Type | Description |
---|---|
string |
SystemDirectory
Obtiene la ruta de directorio del sistema operativo.
Declaration
public string SystemDirectory { get; }
Property Value
Type | Description |
---|---|
string |
SystemDrive
Obtiene la letra de unidad donde se encuentra instalado el sistema operativo.
Declaration
public string SystemDrive { get; }
Property Value
Type | Description |
---|---|
string |
ThirdPartyLicenses
Enumera las licencias de terceros incluidas con el sistema operativo.
Declaration
public IEnumerable<License>? ThirdPartyLicenses { get; }
Property Value
Type | Description |
---|---|
IEnumerable<License> |
TotalVirtualMemorySize
Obtiene el tamaño total de la memoria virtual.
Declaration
[CLSCompliant(false)]
public ulong TotalVirtualMemorySize { get; }
Property Value
Type | Description |
---|---|
ulong |
TotalVisibleMemorySize
Obtiene el tamaño total de memoria que es visible al sistema.
Declaration
[CLSCompliant(false)]
public ulong TotalVisibleMemorySize { get; }
Property Value
Type | Description |
---|---|
ulong |
UBR
Obtiene el valor "UBR" desde la instrumentación de Windows.
Declaration
public int UBR { get; }
Property Value
Type | Description |
---|---|
int | El valor "UBR" desde la instrumentación de Windows. |
Version
Obtiene la versión del sistema operativo.
Declaration
public Version Version { get; }
Property Value
Type | Description |
---|---|
Version |
WindowsDirectory
Obtiene la ruta del directorio de Windows.
Declaration
public string WindowsDirectory { get; }
Property Value
Type | Description |
---|---|
string |