BTool.DeviceFormUtils.GetSigAuthStr C# (CSharp) Méthode

GetSigAuthStr() public méthode

public GetSigAuthStr ( byte sigAuth ) : string
sigAuth byte
Résultat string
        public string GetSigAuthStr(byte sigAuth)
        {
            switch (sigAuth)
            {
                case 0:
                    return "The Authentication Signature is not included with the Write PDU.";
                case 1:
                    return "The included Authentication Signature is valid.";
                case 2:
                    return "The included Authentication Signature is not valid.";
            }
            return "Unknown Signature Authorization";
        }