C# Class WMI.BcdObject

Inheritance: System.ComponentModel.Component
Mostra file Open project: coderforlife/c4l-utils Class Usage Examples

Private Properties

Property Type Description
CheckIfProperClass bool
CheckIfProperClass bool
CommitObject void
CommitObject void
ConstructPath string
CreateInstance BcdObject
Delete void
Initialize void
InitializeObject void
ShouldSerializeType bool

Public Methods

Method Description
BcdObject ( ) : System
BcdObject ( System path ) : System
BcdObject ( System path, System getOptions ) : System
BcdObject ( System mgmtScope, System path, System getOptions ) : System
BcdObject ( System mgmtScope, string keyId, string keyStoreFilePath ) : System
BcdObject ( string keyId, string keyStoreFilePath ) : System
DeleteElement ( uint Type ) : bool
EnumerateElementTypes ( uint &Types ) : bool
EnumerateElements ( System &Elements ) : bool
GetElement ( uint Type, System &Element ) : bool
GetElementWithFlags ( uint Flags, uint Type, System &Element ) : bool
GetInstances ( ) : BcdObjectCollection
GetInstances ( System selectedProperties ) : BcdObjectCollection
GetInstances ( System mgmtScope, System enumOptions ) : BcdObjectCollection
GetInstances ( System mgmtScope, string condition ) : BcdObjectCollection
GetInstances ( System mgmtScope, string condition, System selectedProperties ) : BcdObjectCollection
GetInstances ( string condition ) : BcdObjectCollection
GetInstances ( string condition, System selectedProperties ) : BcdObjectCollection
SetBooleanElement ( bool Boolean, uint Type ) : bool
SetDeviceElement ( string AdditionalOptions, uint DeviceType, uint Type ) : bool
SetFileDeviceElement ( string AdditionalOptions, uint DeviceType, string ParentAdditionalOptions, uint ParentDeviceType, string ParentPath, string Path, uint Type ) : bool
SetIntegerElement ( ulong Integer, uint Type ) : bool
SetIntegerListElement ( ulong Integers, uint Type ) : bool
SetObjectElement ( string Id, uint Type ) : bool
SetObjectListElement ( string Ids, uint Type ) : bool
SetPartitionDeviceElement ( string AdditionalOptions, uint DeviceType, string Path, uint Type ) : bool
SetPartitionDeviceElementWithFlags ( string AdditionalOptions, uint DeviceType, uint Flags, string Path, uint Type ) : bool
SetQualifiedPartitionDeviceElement ( string DiskSignature, string PartitionIdentifier, uint PartitionStyle, uint Type ) : bool
SetStringElement ( string String, uint Type ) : bool
SetVhdDeviceElement ( uint CustomLocate, string ParentAdditionalOptions, uint ParentDeviceType, string ParentPath, string Path, uint Type ) : bool

Private Methods

Method Description
CheckIfProperClass ( System theObj ) : bool
CheckIfProperClass ( System mgmtScope, System path, System OptionsParam ) : bool
CommitObject ( ) : void
CommitObject ( System putOptions ) : void
ConstructPath ( string keyId, string keyStoreFilePath ) : string
CreateInstance ( ) : BcdObject
Delete ( ) : void
Initialize ( ) : void
InitializeObject ( System mgmtScope, System path, System getOptions ) : void
ShouldSerializeType ( ) : bool

Method Details

BcdObject() public method

public BcdObject ( ) : System
return System

BcdObject() public method

public BcdObject ( System path ) : System
path System
return System

BcdObject() public method

public BcdObject ( System path, System getOptions ) : System
path System
getOptions System
return System

BcdObject() public method

public BcdObject ( System mgmtScope, System path, System getOptions ) : System
mgmtScope System
path System
getOptions System
return System

BcdObject() public method

public BcdObject ( System mgmtScope, string keyId, string keyStoreFilePath ) : System
mgmtScope System
keyId string
keyStoreFilePath string
return System

BcdObject() public method

public BcdObject ( string keyId, string keyStoreFilePath ) : System
keyId string
keyStoreFilePath string
return System

DeleteElement() public method

public DeleteElement ( uint Type ) : bool
Type uint
return bool

EnumerateElementTypes() public method

public EnumerateElementTypes ( uint &Types ) : bool
Types uint
return bool

EnumerateElements() public method

public EnumerateElements ( System &Elements ) : bool
Elements System
return bool

GetElement() public method

public GetElement ( uint Type, System &Element ) : bool
Type uint
Element System
return bool

GetElementWithFlags() public method

public GetElementWithFlags ( uint Flags, uint Type, System &Element ) : bool
Flags uint
Type uint
Element System
return bool

GetInstances() public static method

public static GetInstances ( ) : BcdObjectCollection
return BcdObjectCollection

GetInstances() public static method

public static GetInstances ( System selectedProperties ) : BcdObjectCollection
selectedProperties System
return BcdObjectCollection

GetInstances() public static method

public static GetInstances ( System mgmtScope, System enumOptions ) : BcdObjectCollection
mgmtScope System
enumOptions System
return BcdObjectCollection

GetInstances() public static method

public static GetInstances ( System mgmtScope, string condition ) : BcdObjectCollection
mgmtScope System
condition string
return BcdObjectCollection

GetInstances() public static method

public static GetInstances ( System mgmtScope, string condition, System selectedProperties ) : BcdObjectCollection
mgmtScope System
condition string
selectedProperties System
return BcdObjectCollection

GetInstances() public static method

public static GetInstances ( string condition ) : BcdObjectCollection
condition string
return BcdObjectCollection

GetInstances() public static method

public static GetInstances ( string condition, System selectedProperties ) : BcdObjectCollection
condition string
selectedProperties System
return BcdObjectCollection

SetBooleanElement() public method

public SetBooleanElement ( bool Boolean, uint Type ) : bool
Boolean bool
Type uint
return bool

SetDeviceElement() public method

public SetDeviceElement ( string AdditionalOptions, uint DeviceType, uint Type ) : bool
AdditionalOptions string
DeviceType uint
Type uint
return bool

SetFileDeviceElement() public method

public SetFileDeviceElement ( string AdditionalOptions, uint DeviceType, string ParentAdditionalOptions, uint ParentDeviceType, string ParentPath, string Path, uint Type ) : bool
AdditionalOptions string
DeviceType uint
ParentAdditionalOptions string
ParentDeviceType uint
ParentPath string
Path string
Type uint
return bool

SetIntegerElement() public method

public SetIntegerElement ( ulong Integer, uint Type ) : bool
Integer ulong
Type uint
return bool

SetIntegerListElement() public method

public SetIntegerListElement ( ulong Integers, uint Type ) : bool
Integers ulong
Type uint
return bool

SetObjectElement() public method

public SetObjectElement ( string Id, uint Type ) : bool
Id string
Type uint
return bool

SetObjectListElement() public method

public SetObjectListElement ( string Ids, uint Type ) : bool
Ids string
Type uint
return bool

SetPartitionDeviceElement() public method

public SetPartitionDeviceElement ( string AdditionalOptions, uint DeviceType, string Path, uint Type ) : bool
AdditionalOptions string
DeviceType uint
Path string
Type uint
return bool

SetPartitionDeviceElementWithFlags() public method

public SetPartitionDeviceElementWithFlags ( string AdditionalOptions, uint DeviceType, uint Flags, string Path, uint Type ) : bool
AdditionalOptions string
DeviceType uint
Flags uint
Path string
Type uint
return bool

SetQualifiedPartitionDeviceElement() public method

public SetQualifiedPartitionDeviceElement ( string DiskSignature, string PartitionIdentifier, uint PartitionStyle, uint Type ) : bool
DiskSignature string
PartitionIdentifier string
PartitionStyle uint
Type uint
return bool

SetStringElement() public method

public SetStringElement ( string String, uint Type ) : bool
String string
Type uint
return bool

SetVhdDeviceElement() public method

public SetVhdDeviceElement ( uint CustomLocate, string ParentAdditionalOptions, uint ParentDeviceType, string ParentPath, string Path, uint Type ) : bool
CustomLocate uint
ParentAdditionalOptions string
ParentDeviceType uint
ParentPath string
Path string
Type uint
return bool