Example #1
0
            /// <summary>
            /// Creates a default tpm v1.2 version structure
            /// </summary>
            /// <returns</returns>
            public static TPMVersionCore CreateVersion12()
            {
                CapabilityDataCore.TPMVersionCore version = new CapabilityDataCore.TPMVersionCore();
                version._major    = 0x01;
                version._minor    = 0x02;
                version._revMajor = 0;
                version._revMinor = 0;

                return(version);
            }
Example #2
0
            /// <summary>
            /// Creates a default tpm v1.2 version structure
            /// </summary>
            /// <returns</returns>
            public static TPMVersionCore CreateVersion12()
            {
                CapabilityDataCore.TPMVersionCore version = new CapabilityDataCore.TPMVersionCore ();
                version._major = 0x01;
                version._minor = 0x02;
                version._revMajor = 0;
                version._revMinor = 0;

                return version;
            }