Show / Hide Table of Contents

Class WindowsInfo

Expone información detallada sobre Windows.

Inheritance
object
WindowsInfo
Implements
IExposeInfo
INameable
IDescriptible
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Component
Assembly: MCART.Windows.dll
Syntax
public class WindowsInfo : IExposeInfo, INameable, IDescriptible

Properties

| Edit this page View Source

Authors

Obtiene al fabricante del sistema operativo.

Declaration
public IEnumerable<string> Authors { get; }
Property Value
Type Description
IEnumerable<string>
| Edit this page View Source

BootDevice

Obtiene una cadena que representa el dispositivo de arranque del equipo.

Declaration
public string BootDevice { get; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

BuildGUID

Obtiene un Guid que identifica a esta versión de Windows.

Declaration
public Guid BuildGUID { get; }
Property Value
Type Description
Guid
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

BuildNumber

Obtiene una cadena que representa el número de compilación de Windows.

Declaration
public string BuildNumber { get; }
Property Value
Type Description
string
| Edit this page View Source

BuildType

Obtiene una cadena que representa el tipo de compilación de Windows.

Declaration
public string BuildType { get; }
Property Value
Type Description
string
| Edit this page View Source

Caption

Obtiene una etiqueta para esta versión de Windows.

Declaration
public string Caption { get; }
Property Value
Type Description
string
| Edit this page View Source

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.

| Edit this page View Source

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
| Edit this page View Source

Copyright

Obtiene la nota de copyright asociada a Windows.

Declaration
public string Copyright { get; }
Property Value
Type Description
string
| Edit this page View Source

CountryCode

Obtiene el código de país configurado para esta instancia de Windows.

Declaration
public string CountryCode { get; }
Property Value
Type Description
string
| Edit this page View Source

CurrentTimeZone

Obtiene la zona horaria actualmente configurada en Windows.

Declaration
public short CurrentTimeZone { get; }
Property Value
Type Description
short
| Edit this page View Source

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
| Edit this page View Source

DEPAvailable

Obtiene un valor que indica si DEP se encuentra habilitado.

Declaration
public bool DEPAvailable { get; }
Property Value
Type Description
bool
| Edit this page View Source

DEPDrivers

Obtiene un valor que indica la presencia de controladores DEP en el sistema.

Declaration
public bool DEPDrivers { get; }
Property Value
Type Description
bool
| Edit this page View Source

DEPPolicy

Obtiene un valor que representa la política DEP activa en el equipo.

Declaration
public byte DEPPolicy { get; }
Property Value
Type Description
byte
| Edit this page View Source

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
| Edit this page View Source

Description

Obtiene una cadena que describe a esta versión de Windows.

Declaration
public string Description { get; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

EditionID

Obtiene un valor que representa la edición de esta instancia de Windows.

Declaration
public string EditionID { get; }
Property Value
Type Description
string
| Edit this page View Source

EncryptionLevel

Obtiene un valor que representa el nivel de encriptado del sistema.

Declaration
[CLSCompliant(false)]
public uint EncryptionLevel { get; }
Property Value
Type Description
uint
| Edit this page View Source

FirmwareType

Obtiene el tipo de firmware con el cual el equipo ha sido arrancado.

Declaration
public FirmwareType FirmwareType { get; }
Property Value
Type Description
FirmwareType
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

Has3rdPartyLicense

Obtiene un valor que indica si Microsoft Windows incluye licencias de terceros.

Declaration
public bool Has3rdPartyLicense { get; }
Property Value
Type Description
bool
| Edit this page View Source

HasLicense

Obtiene un valor que determina si Windows incluye un CLUF

Declaration
public bool HasLicense { get; }
Property Value
Type Description
bool
| Edit this page View Source

InformationalVersion

Obtiene la versión descriptiva informacional de Windows.

Declaration
public string? InformationalVersion { get; }
Property Value
Type Description
string
| Edit this page View Source

InstallDate

Obtiene la fecha y hora de instalación de Windows en este equipo.

Declaration
public DateTime InstallDate { get; }
Property Value
Type Description
DateTime
| Edit this page View Source

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
| Edit this page View Source

LastBootUpTime

Obtiene la fecha y hora del último arranque del equipo.

Declaration
public DateTime LastBootUpTime { get; }
Property Value
Type Description
DateTime
| Edit this page View Source

License

Obtiene el texto de licencia asociado a Windows.

Declaration
public License License { get; }
Property Value
Type Description
License
| Edit this page View Source

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
| Edit this page View Source

Locale

Obtiene una cadena que representa el lenguaje local del equipo.

Declaration
public string Locale { get; }
Property Value
Type Description
string
| Edit this page View Source

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[]
| Edit this page View Source

Manufacturer

Obtiene el nombre del fabricante del equipo.

Declaration
public string Manufacturer { get; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

Name

Obtiene un nombre descriptivo para esta instalación de Windows.

Declaration
public string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

NumberOfProcesses

Obtiene la cantidad de procesos existentes actualmente en el sistema.

Declaration
[CLSCompliant(false)]
public uint NumberOfProcesses { get; }
Property Value
Type Description
uint
| Edit this page View Source

NumberOfUsers

Obtiene la cantidad de usuarios registrados en el sistema.

Declaration
[CLSCompliant(false)]
public uint NumberOfUsers { get; }
Property Value
Type Description
uint
| Edit this page View Source

OSArchitecture

Obtiene el nombre de la arquitectura del sistema operativo.

Declaration
public string OSArchitecture { get; }
Property Value
Type Description
string
| Edit this page View Source

OSLanguage

Obtiene un valor que representa el idioma del sistema operativo.

Declaration
[CLSCompliant(false)]
public uint OSLanguage { get; }
Property Value
Type Description
uint
| Edit this page View Source

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
| Edit this page View Source

OSType

Obtiene un valor que representa el tipo de sistema operativo.

Declaration
[CLSCompliant(false)]
public ushort OSType { get; }
Property Value
Type Description
ushort
| Edit this page View Source

OperatingSystemSKU

Obtiene un número de producto (SKU) que identifica a Windows.

Declaration
[CLSCompliant(false)]
public uint OperatingSystemSKU { get; }
Property Value
Type Description
uint
| Edit this page View Source

Organization

Obtiene el nombre de la organización registrada en el equipo.

Declaration
public string Organization { get; }
Property Value
Type Description
string
| Edit this page View Source

PortableOperatingSystem

Obtiene un valor que indica si este sistema operativo es portátil.

Declaration
public bool PortableOperatingSystem { get; }
Property Value
Type Description
bool
| Edit this page View Source

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.

| Edit this page View Source

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
| Edit this page View Source

RegisteredUser

Obtiene el nombre del usuario registrado en Windows.

Declaration
public string RegisteredUser { get; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

SerialNumber

Obtiene el número de serie del equipo.

Declaration
public string SerialNumber { get; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

Status

Obtiene una cadena que representa el estado actual del sistema operativo.

Declaration
public string Status { get; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

SystemDirectory

Obtiene la ruta de directorio del sistema operativo.

Declaration
public string SystemDirectory { get; }
Property Value
Type Description
string
| Edit this page View Source

SystemDrive

Obtiene la letra de unidad donde se encuentra instalado el sistema operativo.

Declaration
public string SystemDrive { get; }
Property Value
Type Description
string
| Edit this page View Source

ThirdPartyLicenses

Enumera las licencias de terceros incluidas con el sistema operativo.

Declaration
public IEnumerable<License>? ThirdPartyLicenses { get; }
Property Value
Type Description
IEnumerable<License>
| Edit this page View Source

TotalVirtualMemorySize

Obtiene el tamaño total de la memoria virtual.

Declaration
[CLSCompliant(false)]
public ulong TotalVirtualMemorySize { get; }
Property Value
Type Description
ulong
| Edit this page View Source

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
| Edit this page View Source

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.

| Edit this page View Source

Version

Obtiene la versión del sistema operativo.

Declaration
public Version Version { get; }
Property Value
Type Description
Version
| Edit this page View Source

WindowsDirectory

Obtiene la ruta del directorio de Windows.

Declaration
public string WindowsDirectory { get; }
Property Value
Type Description
string

Implements

IExposeInfo
INameable
IDescriptible

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX