コード例 #1
0
        public override string ToString()
        {
            OSClass      osClass = (OSClass)Suffix[0];
            OSIdentifier osId    = (OSIdentifier)EndianUtilities.ToUInt16BigEndian(Suffix, 0);

            return(string.Format(CultureInfo.InvariantCulture, "{0} [OS {1} {2}]", Identifier, osClass, osId));
        }
コード例 #2
0
        public override string ToString()
        {
            string       major   = ((uint)Suffix[1]).ToString("X", CultureInfo.InvariantCulture);
            string       minor   = ((uint)Suffix[0]).ToString("X", CultureInfo.InvariantCulture);
            OSClass      osClass = (OSClass)Suffix[2];
            OSIdentifier osId    = (OSIdentifier)Utilities.ToUInt16BigEndian(Suffix, 2);

            return(string.Format(CultureInfo.InvariantCulture, "{0} [UDF {1}.{2} : OS {3} {4}]", Identifier, major, minor, osClass, osId));
        }