コード例 #1
0
ファイル: Tpm.cs プロジェクト: ralish/QueryHardwareSecurity
        public override void WriteConsole(ConsoleOutputStyle style)
        {
            ConsoleOutputStyle = style;

            WriteConsoleHeader(false);

            WriteConsoleEntry("Manufacturer ID", ManufacturerId.ToString());
            WriteConsoleEntry("Manufacturer Name", ManufacturerName);
            WriteConsoleEntry("Manufacturer Model", ManufacturerModel.ToString());

            WriteConsoleEntry("Specification version", SpecificationVersion);
            WriteConsoleEntry("Specification level", SpecificationLevel.ToString());
            WriteConsoleEntry("Specification revision", SpecificationRevision.ToString());
            WriteConsoleEntry("Specification date", SpecificationDate.ToString("d"));

            WriteConsoleEntry("Platform-specific family", PlatformSpecificFamily);
            WriteConsoleEntry("Platform specification level", PlatformSpecificationLevel.ToString());
            WriteConsoleEntry("Platform specification revision", PlatformSpecificationRevision.ToString());
            WriteConsoleEntry("Platform specification date", PlatformSpecificationDate.ToString("d"));

            WriteConsoleEntry("Firmware version", FirmwareVersion.ToString());
            WriteConsoleEntry("Physical presence version", PhysicalPresenceVersion);

            WriteConsoleEntry("Memory management", MemoryManagement);
            WriteConsoleEntry("Supported modes", SupportedModes);

            WriteConsoleEntry("Permanent attributes", PermanentAttributes);
            WriteConsoleEntry("Startup attributes", StartupAttributes);
        }