C# Class Tpm2Lib.TpmStructureBase

Afficher le fichier Open project: Microsoft/TSS.MSR Class Usage Examples

Méthodes publiques

Méthode Description
Copy ( ) : void
Equals ( Object obj ) : bool
GetHashCode ( ) : int
GetTpm2BRepresentation ( ) : byte[]
GetTpmRepresentation ( ) : byte[]
ToString ( ) : String
operator ( ) : bool

Méthodes protégées

Méthode Description
InternalReadXml ( XmlReader r ) : void
InternalWriteXml ( XmlWriter w ) : void
TpmStructureBase ( ) : System

Private Methods

Méthode Description
GetFieldsToMarshal ( bool trackTags = false ) : TpmStructMemberInfo[]
ToHost ( Marshaller m ) : void
ToNet ( Marshaller m ) : void

Implements marshaling logic for most of the TPM object types. Can be overridden if a custom marshaling logic is required (e.g. when marshaling of a field depends on other field's value).

ToStringInternal ( TpmStructPrinter p ) : void
UnionElementFromSelector ( Type unionInterface, object selector ) : Type

Method Details

Copy() public méthode

public Copy ( ) : void
Résultat void

Equals() public méthode

public Equals ( Object obj ) : bool
obj Object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetTpm2BRepresentation() public méthode

public GetTpm2BRepresentation ( ) : byte[]
Résultat byte[]

GetTpmRepresentation() public méthode

public GetTpmRepresentation ( ) : byte[]
Résultat byte[]

InternalReadXml() protected méthode

protected InternalReadXml ( XmlReader r ) : void
r XmlReader
Résultat void

InternalWriteXml() protected méthode

protected InternalWriteXml ( XmlWriter w ) : void
w XmlWriter
Résultat void

ToString() public méthode

public ToString ( ) : String
Résultat String

TpmStructureBase() protected méthode

protected TpmStructureBase ( ) : System
Résultat System

operator() public static méthode

public static operator ( ) : bool
Résultat bool