Tpm2Lib.TpmPublic.TpmPublic C# (CSharp) Method

TpmPublic() public method

public TpmPublic ( TpmPublic the_TpmPublic ) : System
the_TpmPublic TpmPublic
return System
        public TpmPublic(TpmPublic the_TpmPublic)
        {
            if((Object) the_TpmPublic == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
            nameAlg = the_TpmPublic.nameAlg;
            objectAttributes = the_TpmPublic.objectAttributes;
            authPolicy = the_TpmPublic.authPolicy;
        }
        ///<param name = "the_nameAlg">algorithm used for computing the Name of the object NOTE	The "+" indicates that the instance of a TPMT_PUBLIC may have a "+" to indicate that the nameAlg may be TPM_ALG_NULL.</param>

Same methods

TpmPublic::TpmPublic ( ) : System
TpmPublic::TpmPublic ( TpmAlgId the_nameAlg, ObjectAttr the_objectAttributes, byte the_authPolicy, IPublicParmsUnion the_parameters, IPublicIdUnion the_unique ) : System