From 0e172da3722f6d8e4d8d5ea49063c8472e228c4d Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Sun, 15 Oct 2023 12:34:58 +0300 Subject: [PATCH] Add project files. --- .editorconfig | 29 + .gitattributes | 63 ++ .github/ISSUE_TEMPLATE/ask-a-question.md | 16 + .github/ISSUE_TEMPLATE/report-an-issue.md | 43 ++ .github/ISSUE_TEMPLATE/request-a-feature.md | 18 + .github/issue_template.md | 38 + .github/pull_request_template.md | 20 + .github/workflows/build-linux.yml | 47 ++ .github/workflows/build-macos.yml | 47 ++ .github/workflows/build-win.yml | 47 ++ .github/workflows/docgen.yml | 28 + .github/workflows/pack.yml | 24 + .gitignore | 343 +++++++++ CODE_OF_CONDUCT.md | 76 ++ CONTRIBUTING.md | 195 +++++ DocGen/.gitignore | 6 + DocGen/docfx.json | 49 ++ DocGen/filterConfig.yml | 17 + DocGen/index.md | 21 + DocGen/toc.yml | 7 + LICENSE | 674 ++++++++++++++++++ Makefile | 15 + README.md | 67 ++ SECURITY.md | 19 + SpecProbe.ConsoleTest/Program.cs | 141 ++++ .../SpecProbe.ConsoleTest.csproj | 23 + SpecProbe.ConsoleTest/app.manifest | 16 + SpecProbe.Native/Helpers/ProcessorHelper.cs | 32 + SpecProbe.Native/Initializer.cs | 97 +++ SpecProbe.Native/Kernel/UnameEnumerations.cs | 54 ++ SpecProbe.Native/Kernel/UnameManager.cs | 83 +++ SpecProbe.Native/Properties/AssemblyInfo.cs | 21 + SpecProbe.Native/SpecProbe.Native.csproj | 48 ++ SpecProbe.Native/SpecProbe.Native.targets | 21 + .../linux-x64/native/libspecprober.so | Bin 0 -> 15632 bytes .../linux-x86/native/libspecprober.so | Bin 0 -> 14636 bytes .../runtimes/win-x64/native/libspecprober.dll | Bin 0 -> 90395 bytes .../runtimes/win-x86/native/libspecprober.dll | Bin 0 -> 82658 bytes SpecProbe.sln | 37 + SpecProbe/Hardware/HardwareProber.cs | 108 +++ .../Hardware/Parts/BaseHardwarePartInfo.cs | 30 + SpecProbe/Hardware/Parts/HardwarePartType.cs | 47 ++ SpecProbe/Hardware/Parts/IHardwarePartInfo.cs | 31 + .../Hardware/Parts/Types/HardDiskPart.cs | 90 +++ SpecProbe/Hardware/Parts/Types/MemoryPart.cs | 55 ++ .../Hardware/Parts/Types/ProcessorPart.cs | 124 ++++ SpecProbe/Hardware/Parts/Types/VideoPart.cs | 41 ++ SpecProbe/Hardware/Probers/HardDiskProber.cs | 196 +++++ SpecProbe/Hardware/Probers/IHardwareProber.cs | 32 + SpecProbe/Hardware/Probers/MemoryProber.cs | 139 ++++ SpecProbe/Hardware/Probers/ProcessorProber.cs | 306 ++++++++ SpecProbe/Hardware/Probers/VideoProber.cs | 136 ++++ SpecProbe/Kernel/UnameEnumerations.cs | 54 ++ SpecProbe/Kernel/UnameManager.cs | 84 +++ SpecProbe/OfficialAppIcon-SpecProbe-512.png | Bin 0 -> 36498 bytes SpecProbe/Platform/PlatformHelper.cs | 107 +++ SpecProbe/Platform/PlatformWindowsInterop.cs | 493 +++++++++++++ SpecProbe/SpecProbe.csproj | 45 ++ aptivi_snk.snk | Bin 0 -> 596 bytes interop/CMakeLists.txt | 12 + interop/include/specprober.h | 32 + interop/src/specprober.c | 149 ++++ tools/Makefile | 9 + tools/build.cmd | 40 ++ tools/build.sh | 51 ++ tools/docgen-pack.cmd | 39 + tools/docgen-pack.sh | 44 ++ tools/docgen.cmd | 36 + tools/docgen.sh | 37 + tools/pack.cmd | 37 + tools/pack.sh | 47 ++ tools/version | 1 + 72 files changed, 5134 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 .github/ISSUE_TEMPLATE/ask-a-question.md create mode 100644 .github/ISSUE_TEMPLATE/report-an-issue.md create mode 100644 .github/ISSUE_TEMPLATE/request-a-feature.md create mode 100644 .github/issue_template.md create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/build-linux.yml create mode 100644 .github/workflows/build-macos.yml create mode 100644 .github/workflows/build-win.yml create mode 100644 .github/workflows/docgen.yml create mode 100644 .github/workflows/pack.yml create mode 100644 .gitignore create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.md create mode 100644 DocGen/.gitignore create mode 100644 DocGen/docfx.json create mode 100644 DocGen/filterConfig.yml create mode 100644 DocGen/index.md create mode 100644 DocGen/toc.yml create mode 100644 LICENSE create mode 100644 Makefile create mode 100644 README.md create mode 100644 SECURITY.md create mode 100644 SpecProbe.ConsoleTest/Program.cs create mode 100644 SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj create mode 100644 SpecProbe.ConsoleTest/app.manifest create mode 100644 SpecProbe.Native/Helpers/ProcessorHelper.cs create mode 100644 SpecProbe.Native/Initializer.cs create mode 100644 SpecProbe.Native/Kernel/UnameEnumerations.cs create mode 100644 SpecProbe.Native/Kernel/UnameManager.cs create mode 100644 SpecProbe.Native/Properties/AssemblyInfo.cs create mode 100644 SpecProbe.Native/SpecProbe.Native.csproj create mode 100644 SpecProbe.Native/SpecProbe.Native.targets create mode 100644 SpecProbe.Native/runtimes/linux-x64/native/libspecprober.so create mode 100644 SpecProbe.Native/runtimes/linux-x86/native/libspecprober.so create mode 100644 SpecProbe.Native/runtimes/win-x64/native/libspecprober.dll create mode 100644 SpecProbe.Native/runtimes/win-x86/native/libspecprober.dll create mode 100644 SpecProbe.sln create mode 100644 SpecProbe/Hardware/HardwareProber.cs create mode 100644 SpecProbe/Hardware/Parts/BaseHardwarePartInfo.cs create mode 100644 SpecProbe/Hardware/Parts/HardwarePartType.cs create mode 100644 SpecProbe/Hardware/Parts/IHardwarePartInfo.cs create mode 100644 SpecProbe/Hardware/Parts/Types/HardDiskPart.cs create mode 100644 SpecProbe/Hardware/Parts/Types/MemoryPart.cs create mode 100644 SpecProbe/Hardware/Parts/Types/ProcessorPart.cs create mode 100644 SpecProbe/Hardware/Parts/Types/VideoPart.cs create mode 100644 SpecProbe/Hardware/Probers/HardDiskProber.cs create mode 100644 SpecProbe/Hardware/Probers/IHardwareProber.cs create mode 100644 SpecProbe/Hardware/Probers/MemoryProber.cs create mode 100644 SpecProbe/Hardware/Probers/ProcessorProber.cs create mode 100644 SpecProbe/Hardware/Probers/VideoProber.cs create mode 100644 SpecProbe/Kernel/UnameEnumerations.cs create mode 100644 SpecProbe/Kernel/UnameManager.cs create mode 100644 SpecProbe/OfficialAppIcon-SpecProbe-512.png create mode 100644 SpecProbe/Platform/PlatformHelper.cs create mode 100644 SpecProbe/Platform/PlatformWindowsInterop.cs create mode 100644 SpecProbe/SpecProbe.csproj create mode 100644 aptivi_snk.snk create mode 100644 interop/CMakeLists.txt create mode 100644 interop/include/specprober.h create mode 100644 interop/src/specprober.c create mode 100644 tools/Makefile create mode 100644 tools/build.cmd create mode 100644 tools/build.sh create mode 100644 tools/docgen-pack.cmd create mode 100644 tools/docgen-pack.sh create mode 100644 tools/docgen.cmd create mode 100644 tools/docgen.sh create mode 100644 tools/pack.cmd create mode 100644 tools/pack.sh create mode 100644 tools/version diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..32f903d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +root = true + +[*] +end_of_line = crlf +insert_final_newline = true +indent_style = space +indent_size = 4 + +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = warning +dotnet_diagnostic.CA1822.severity = none + +[*.md] +charset = utf-8 + +[*.sh] +end_of_line = lf + +[*.resx] +end_of_line = crlf +insert_final_newline = true +indent_style = space +indent_size = 2 + +[*.csproj] +end_of_line = crlf +insert_final_newline = true +indent_style = space +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.github/ISSUE_TEMPLATE/ask-a-question.md b/.github/ISSUE_TEMPLATE/ask-a-question.md new file mode 100644 index 0000000..d3c3759 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ask-a-question.md @@ -0,0 +1,16 @@ +--- +name: Ask a question +about: Ask us anything about SpecProbe. +title: "[Q&A] [FeatureName] - [Question]" +labels: '' +assignees: '' + +--- + +### -+--> Type of question +- [ ] General +- [ ] Parser +- [ ] Hardware +- [ ] Others + +### -+--> Ask here diff --git a/.github/ISSUE_TEMPLATE/report-an-issue.md b/.github/ISSUE_TEMPLATE/report-an-issue.md new file mode 100644 index 0000000..1767f17 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/report-an-issue.md @@ -0,0 +1,43 @@ +--- +name: Report an issue +about: Thank you for reporting a bug to us. +title: "[BUG] [featureName] - [issue]" +labels: '' +assignees: '' + +--- + +### -+--> Description + + + + + +### -+--> Expected behavior + + + + +### -+--> Actual behavior + + + + +### -+--> Steps to reproduce + + +1. +1. +1. + +### -+--> System Information + + +- **OS:** +- **CPU:** +- **RAM:** +- **HDD:** + +### -+--> Version (include commit number if applicable) + + diff --git a/.github/ISSUE_TEMPLATE/request-a-feature.md b/.github/ISSUE_TEMPLATE/request-a-feature.md new file mode 100644 index 0000000..6971ea4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/request-a-feature.md @@ -0,0 +1,18 @@ +--- +name: Request a feature +about: Suggest an idea to us. +title: "[ADD] [FeatureName] - [Feature]" +labels: '' +assignees: '' + +--- + +### -+--> Description of new feature + + + +### -+--> What does it add? +- [ ] New hardware category +- [ ] Others + +### -+--> Have you tried doing it? diff --git a/.github/issue_template.md b/.github/issue_template.md new file mode 100644 index 0000000..14132e4 --- /dev/null +++ b/.github/issue_template.md @@ -0,0 +1,38 @@ +### -+--> Description + + + + + +### -+--> Expected behavior + + + + +### -+--> Actual behavior + + + + +### -+--> Steps to reproduce + + +1. +1. +1. + +### -+--> System Information + + +**OS:** + +**CPU:** + +**RAM:** + +**HDD:** + +### -+--> Version (include commit number if applicable) + + + diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..aa0b620 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,20 @@ +## Description + + + +## Change type + +- [ ] Bug fixes +- [ ] Performance improvements +- [ ] Feature changes +- [ ] Behavioral changes +- [ ] Other (specify) + +## Tested? + +- [ ] Yes, I have +- [ ] No, I haven't +- [ ] Not sure + +## Specify other changes + diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml new file mode 100644 index 0000000..9ff0091 --- /dev/null +++ b/.github/workflows/build-linux.yml @@ -0,0 +1,47 @@ +name: Build Project (Linux) + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} + - name: Setup .NET 6.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' + - name: Solution Compilation + run: dotnet build --configuration Debug + - name: Testing + run: dotnet test --configuration Debug + - uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: sp-build + path: "SpecProbe.Bin/" + + notify: + + runs-on: ubuntu-latest + needs: + - build + if: ${{ always() }} + + steps: + - name: Notify + uses: nobrayner/discord-webhook@v1 + with: + github-token: ${{ secrets.G_TOKEN }} + discord-webhook: ${{ secrets.DISCORD_WEBHOOK }} + diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml new file mode 100644 index 0000000..30157b7 --- /dev/null +++ b/.github/workflows/build-macos.yml @@ -0,0 +1,47 @@ +name: Build Project (macOS) + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} + - name: Setup .NET 6.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' + - name: Solution Compilation + run: dotnet build --configuration Debug + - name: Testing + run: dotnet test --configuration Debug + - uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: sp-build + path: "SpecProbe.Bin/" + + notify: + + runs-on: ubuntu-latest + needs: + - build + if: ${{ always() }} + + steps: + - name: Notify + uses: nobrayner/discord-webhook@v1 + with: + github-token: ${{ secrets.G_TOKEN }} + discord-webhook: ${{ secrets.DISCORD_WEBHOOK }} + diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml new file mode 100644 index 0000000..c2342b3 --- /dev/null +++ b/.github/workflows/build-win.yml @@ -0,0 +1,47 @@ +name: Build Project (Windows) + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} + - name: Setup .NET 6.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' + - name: Solution Compilation + run: dotnet build --configuration Debug + - name: Testing + run: dotnet test --configuration Debug + - uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: sp-build + path: "SpecProbe.Bin/" + + notify: + + runs-on: ubuntu-latest + needs: + - build + if: ${{ always() }} + + steps: + - name: Notify + uses: nobrayner/discord-webhook@v1 + with: + github-token: ${{ secrets.G_TOKEN }} + discord-webhook: ${{ secrets.DISCORD_WEBHOOK }} + diff --git a/.github/workflows/docgen.yml b/.github/workflows/docgen.yml new file mode 100644 index 0000000..ce92e8f --- /dev/null +++ b/.github/workflows/docgen.yml @@ -0,0 +1,28 @@ +name: KS API Documentation + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + name: "Make API Reference" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + name: Fetching the KS source + - uses: "AptiviCEO/docfx-action@master" + name: Generating documentation + with: + args: DocGen/docfx.json + - name: Saving changes to gh-pages + uses: peaceiris/actions-gh-pages@v3 + with: + commit_message: "Updated documentation to reflect latest changes" + personal_token: ${{ secrets.DOCGEN_TOKEN }} + publish_dir: ./docs/ + publish_branch: gh-pages diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml new file mode 100644 index 0000000..1cddb4e --- /dev/null +++ b/.github/workflows/pack.yml @@ -0,0 +1,24 @@ +name: NuGet Gallery Push + +on: + release: + types: [published] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} + - name: Setup .NET 6.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' + - name: Solution Compilation + run: dotnet build --configuration Release + - name: Package Publication + run: dotnet nuget push "SpecProbe.Bin/*.symbols.nupkg" --api-key ${{ secrets.NUGET_APIKEY }} --source "nuget.org" + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..33ddeb0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,343 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +SpecProbe.Bin/ +SpecProbe.Tests.Bin/ +SpecProbe.ConsoleTest.Bin/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- Backup*.rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb \ No newline at end of file diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..3c5f6ec --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at eoflaoevicecity@gmail.com. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..bcf8145 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,195 @@ +# Contributing guidelines + +First of all, thank you for contributing to our project! This kind of act is the most welcome act to help us keep running our projects the way we want them to run. All your contributions are valuable, but you need to follow these simple rules to get your contribution accepted. + +In the pull requests, we might ask you to make a few changes until we can accept them. If there's no reason for us to add your changes to the project, we might reject them altogether. + +## Following templates + +Your pull requests should follow the template. + +You should be descriptive about what your change is trying to do and what's your opinion about how it affects the whole project. Moreover, it's vital to test your changes before trying to start a pull request to ensure that there are no problems in your initial version. **Always** draft your pull requests. + +## Code guidelines + +When it comes to coding your changes, they should follow the below coding guidelines to retain the style of our projects' code. These are the below code guidelines: + +### Sorting of Fields and Properties + +Fields must come at the very beginning of each class before the properties. Between the fields and the properties and the functions, there should be an empty line. Moreover, accesibility modifiers should be sorted in the following order: + +``` +ClassName + | + |-> Public Fields + |-> Public Read-Only Fields + |-> Internal Fields + |-> Private Fields + |-> Internal Read-Only Fields + |-> Private Read-Only Fields + | + |-> Public Properties + |-> Internal Properties (rare, unless you treat them like C #macros) + | +(...) +``` + +### Sorting of Functions + +Sorting of functions is only affected by their accessibility modifiers in your code. Public functions must come before internal functions, at which the private functions come last. + +``` +(...) + | + |-> Public Functions + |-> Internal Functions + |-> Private Functions + | + --- +``` + +### Arrangement of logic in functions + +Inside functions, the arrangement of logic must be in the below order. Moreover, each part of the logic in each function must be preceded by a comment that explains why is your logic is here and a couple of necessary variables before actual logic. + +``` +ClassName +(...) + | + |-> FunctionName(int arg1, string arg2, ...) + | | + | |-> Comment explaining why (not what) is this logic here + | |-> A couple of necessary variables (optional) + | |-> Actual function logic + | | + | (...) + | +(...) +``` + +Example: + +``` +private static void PollForResize() +{ +(...) + // We need to call the WindowHeight and WindowWidth properties on the Terminal console driver, because + // this polling works for all the terminals. Other drivers that don't use the terminal may not even + // implement these two properties. + if (CurrentWindowHeight != termDriver.WindowHeight | CurrentWindowWidth != termDriver.WindowWidth) + { + ResizeDetected = true; +(...) +} +``` + +### Tabs versus Spaces + +Here we come to the argument of tabs vs spaces. Our problem with tabs is that there are systems that treat tabs as four spaces, and there are systems that treat tabs as eight spaces. Moreover, there is no universal way to accurately query the operating system for tab lengths, as such queries are up to the application handling tabs. + +We recommend that you set your IDE to use **four spaces** for each tab press. Also, don't use literal tab characters for indentation (`\t`); use four spaces. + +### Functions that do only one thing + +*This is not applicable to languages that don't support this feature* + +In C#, you can literally make a function without the opening and closing bracelets (`{ }`) if your function only contains one logic. However, you must append `=>` before the logic. Moreover, the logic should be in its own separate line with four spaces as indentation, like the following: + +``` +access_modifier [static] type SingleLogicFunctionName(string arg1, ...) => + MyLogic(arg1, ...).Modify().(...); +``` + +For example, + +``` +public static string[] GetWrappedSentences(string text, int maximumLength) => + GetWrappedSentences(text, maximumLength, 0); +``` + +### If, while, for, foreach statements that do only one thing + +*This is not applicable to languages that don't support this feature* + +In C#, you can literally make an if, while, for, and foreach statements without the opening and closing bracelets (`{ }`) if your statement only contains one logic. However, you must append `=>` before the logic. Moreover, the logic should be in its own separate line with four spaces as indentation, like the following: + +``` +if/while/for/foreach (...) + MyLogicToDo(); +``` + +For example, + +``` +// Also, compensate the \0 characters +if (text[i] == '\0') + vtSeqCompensate++; +``` + +### Naming of Public vs Internal and Private Components + +The naming must satisfy the following rules: + +* All public functions, properties, and fields must follow the Pascal Case (FunctionName) naming scheme, regardless of their purpose. +* For argument names in public, internal, and private functions, they must be named in the scheme of Camel Case (argumentName). +* Private and internal functions and properties must also follow the Pascal Case naming scheme. +* Private and internal fields must use the Camel Case naming style. +* Pascal Case should be used in class names at all times. +* You may never use the snake_case naming (this isn't Rust) or the kebab-case naming scheme (this isn't HTML) in all the components. + +To learn more about Pascal Case and Camel Case, visit [this site](https://www.freecodecamp.org/news/snake-case-vs-camel-case-vs-pascal-case-vs-kebab-case-whats-the-difference/). + +## Git commits + +We follow this conventional Git commit scheme: + +``` +Type - Attributes - Summary + +Extended Summary + +--- + +Description + +--- + +Type: Type +Breaking: Yes/No +Documentation Required: Yes/No +Part: 1/1 +``` + +For types, you should select exactly one type from the following types: + +``` +add: for additions +fix: for fixes +rem: for removals +imp: for improvements +ref: for refactors +upd: for library updates +doc: for documentation updates +``` + +Additionally, attributes are optional and can be specified. Multiple attributes should be separated with the pipe character (`|`). However, there are special cases that you may need to handle when you're committing your changes to your pull request: + +* If documentation is required (i.e. your commit requires documentation on GitBook and you've specified `doc`), change the `Documentation Required` part to `Yes`, otherwise, `No`. +* If this commit includes breaking changes (i.e. you've specified `brk`), change the `Breaking` part to `Yes`, otherwise, `No`. +* If this commit is a part of the commit series, specify `prt` and change the `Part` field where it says `1/1` to the current and the total parts in this format: `current/total`. Total parts must be accurate, and the title should stay the same as any former commits in the series. + +These are the attributes we officially support: + +``` +brk: for breaking changes +sec: for security +prf: for performance improvements +reg: for regression fixes +doc: for documentation requirement +ptp: for prototyping +prt: for commit series (PartNum is required) +``` + +## Engagement with the Community + +Thank you for your contribution to our project, but in order for this contribution to be flawless, you must be respectful to all other developers of the projects and the users in general, regardless of whether there is a fight or a heated discussion going on. Try to keep it civil during fights and don't use personal attacks, threats of any kind, derogatory and racist remarks against people or groups of any race, ethnicity, religion, or group, and explicit words (like swearing) to try to solve any disagreement with anyone, including the developers of the project. diff --git a/DocGen/.gitignore b/DocGen/.gitignore new file mode 100644 index 0000000..2a64487 --- /dev/null +++ b/DocGen/.gitignore @@ -0,0 +1,6 @@ +/**/DROP/ +/**/TEMP/ +/**/packages/ +/**/bin/ +/**/obj/ +reference \ No newline at end of file diff --git a/DocGen/docfx.json b/DocGen/docfx.json new file mode 100644 index 0000000..c329af7 --- /dev/null +++ b/DocGen/docfx.json @@ -0,0 +1,49 @@ +{ + "metadata": [ + { + "src": [ + { + "files": [ "SpecProbe/**.csproj" ], + "src": ".." + } + ], + "dest": "api", + "disableGitFeatures": false, + "disableDefaultFilter": false, + "filter": "filterConfig.yml" + } + ], + "build": { + "content": [ + { + "files": [ + "api/**.yml", + "index.md", + "toc.yml" + ] + } + ], + "resource": [ + { + "files": [ "images/**" ] + } + ], + "dest": "../docs", + "globalMetadata": { + "_appTitle": "SpecProbe API - Aptivi Internals", + "_enableSearch": true + }, + "globalMetadataFiles": [], + "fileMetadataFiles": [], + "template": [ "default" ], + "postProcessors": [], + "markdownEngineName": "markdig", + "noLangKeyword": false, + "keepFileLink": false, + "cleanupCacheHistory": false, + "disableGitFeatures": false, + "sitemap": { + "baseUrl": "https://aptivi.github.io/SpecProbe/" + } + } +} diff --git a/DocGen/filterConfig.yml b/DocGen/filterConfig.yml new file mode 100644 index 0000000..c1e4d00 --- /dev/null +++ b/DocGen/filterConfig.yml @@ -0,0 +1,17 @@ +apiRules: +- exclude: + # inherited members from Form + uidRegex: ^System\.Windows\.Forms\.Form\..*$ + type: Member +- exclude: + # inherited members from Control + uidRegex: ^System\.Windows\.Forms\.Control\..*$ + type: Member +- exclude: + # mentioning types from System.* namespace + uidRegex: ^System\..*$ + type: Type +- exclude: + # mentioning types from Microsoft.* namespace + uidRegex: ^Microsoft\..*$ + type: Type \ No newline at end of file diff --git a/DocGen/index.md b/DocGen/index.md new file mode 100644 index 0000000..148a427 --- /dev/null +++ b/DocGen/index.md @@ -0,0 +1,21 @@ +## What is SpecProbe? + +SpecProbe is an improved version of Inxi.NET that uses native code to accelerate hardware parsing + +## What is this web page? + +This webpage is an API documentation for mod developers to be used as reference. It constantly gets updated as we push the updates to the main and servicing versions of this project. + +If you still intend to use a documentation specific to your preferred version of SpecProbe, you may refer to the [releases](https://github.com/Aptivi/SpecProbe/releases) page of the project and download the attached `-doc.rar` file. + +To get started using the documentation, select `API Documentation` from the top menu and select a namespace to get a clear overview of the API. + +## Feedback + +If you wish to leave feedback to us about this API reference website, use the [issue tracker](https://github.com/Aptivi/SpecProbe/issues) of the project. + +If you wish to contribute to the documentation of the API, go to the project source code and make your improvements there on a draft [Pull Request](https://github.com/Aptivi/SpecProbe/pulls); we don't support override files that are made by clicking on `Improve this doc`. + +Any meaningful contributions are welcome. + +Copyright (c) 2022 Aptivi. All rights reserved. diff --git a/DocGen/toc.yml b/DocGen/toc.yml new file mode 100644 index 0000000..887011f --- /dev/null +++ b/DocGen/toc.yml @@ -0,0 +1,7 @@ +- name: Home + href: index.md +- name: API Documentation + href: api/ +- name: Wiki + href: wiki/ + homepage: wiki/Home.md \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..955a0b9 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +OUTPUTS = SpecProbe.*/bin SpecProbe.*/obj SpecProbe/bin SpecProbe/obj + +.PHONY: all + +# General use + +all: all-online + +all-online: + $(MAKE) -C tools invoke-build + +clean: + rm -rf $(OUTPUTS) + +# This makefile is just a wrapper for tools scripts. diff --git a/README.md b/README.md new file mode 100644 index 0000000..81f1130 --- /dev/null +++ b/README.md @@ -0,0 +1,67 @@ + +
+ +
+
+ + + +
+ +# SpecProbe + +*A Linux and Windows hardware information querying library.* + +
+
+ +[![Badge Main]][Main]    +[![Badge Main Linux]][Main Linux] + +[![Badge Latest]][Latest]    +[![Badge NuGet]][NuGet] + +![Badge Size]    +[![Badge Downloads]][Releases] + +[![Button Manual]][Manual]    +[![Button Libraries]][Libraries] + +
+ +
+ + + + + + +[Releases]: https://github.com/Aptivi/SpecProbe/releases +[Latest]: https://github.com/Aptivi/SpecProbe/releases/latest +[NuGet]: https://www.nuget.org/packages/SpecProbe/ + +[Main]: https://github.com/Aptivi/SpecProbe/actions/workflows/build-win.yml +[Main Linux]: https://github.com/Aptivi/SpecProbe/actions/workflows/build-linux.yml + +[Libraries]: https://aptivi.gitbook.io/specprobe-manual/project-dependencies +[Manual]: https://aptivi.gitbook.io/specprobe-manual/ + + + +[Badge Downloads]: https://img.shields.io/github/downloads/Aptivi/SpecProbe/total?color=217346&label=Downloads&style=for-the-badge&logoColor=white&logo=DocuSign&labelColor=2d9d5f +[Badge Latest]: https://img.shields.io/github/v/release/Aptivi/SpecProbe?color=212121&include_prereleases&label=github&style=for-the-badge&logoColor=white&logo=AzureArtifacts&labelColor=303030 +[Badge NuGet]: https://img.shields.io/nuget/vpre/SpecProbe?color=012f52&style=for-the-badge&logoColor=white&logo=NuGet&labelColor=004880 +[Badge Size]: https://img.shields.io/github/repo-size/Aptivi/SpecProbe?color=bb4a28&label=size&logoColor=white&style=for-the-badge&logo=GoogleAnalytics&labelColor=E85C33 + +[Badge Main]: https://github.com/Aptivi/SpecProbe/actions/workflows/build-win.yml/badge.svg +[Badge Main Linux]: https://github.com/Aptivi/SpecProbe/actions/workflows/build-linux.yml/badge.svg + + + + +[Button Libraries]: https://img.shields.io/badge/Libraries-EA8220?style=for-the-badge&logoColor=white&logo=AzureArtifacts +[Button Manual]: https://img.shields.io/badge/Docs-blueviolet?style=for-the-badge&logoColor=white&logo=GitBook diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..51a4eca --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,19 @@ +## Reporting security problems + +Thanks for finding security problems in our project! To report them, you must look at the supported versions in our GitBook page, which can be usually accessed by going to the project's main page at GitHub and selecting `Docs`. + +In case of the libraries, only the latest versions are supported. + +### How to report? + +Good question! To report security bugs, report them in the Issues section of our project. + +1. Go to our project's GitHub page +2. Click on Issues +3. Click on `New Issue` +4. Click on `Get Started` next to `Report an issue` +5. Fill in relevant details about this security bug +6. Click on the cogwheel icon next to `Labels` and click on `SECURITY` +7. Click on `Submit new issue` + +If we can reproduce your security issue, the security advisory will be published days after review. diff --git a/SpecProbe.ConsoleTest/Program.cs b/SpecProbe.ConsoleTest/Program.cs new file mode 100644 index 0000000..142c0e7 --- /dev/null +++ b/SpecProbe.ConsoleTest/Program.cs @@ -0,0 +1,141 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Hardware; +using SpecProbe.Hardware.Parts.Types; +using System.Diagnostics; +using Terminaux.Writer.ConsoleWriters; +using Terminaux.Writer.FancyWriters; + +namespace SpecProbe.ConsoleTest +{ + + static class Program + { + public static void Main() + { + // Stopwatch for measurement + var stopwatch = new Stopwatch(); + var totalStopwatch = new Stopwatch(); + + // Processor + SeparatorWriterColor.WriteSeparatorColor("Processor information", true, 15); + stopwatch.Start(); + totalStopwatch.Start(); + var processors = HardwareProber.Processors; + stopwatch.Stop(); + foreach (var processor in processors) + { + TextWriterColor.WriteColor("- Processor cores: ", false, 3); + TextWriterColor.WriteColor($"{processor.ProcessorCores}", true, 8); + TextWriterColor.WriteColor("- Cores for each core: ", false, 3); + TextWriterColor.WriteColor($"{processor.CoresForEachCore}", true, 8); + TextWriterColor.WriteColor("- Total cores: ", false, 3); + TextWriterColor.WriteColor($"{processor.TotalCores}", true, 8); + TextWriterColor.WriteColor("- L1, L2, L3 cache sizes in bytes: ", false, 3); + TextWriterColor.WriteColor($"{processor.L1CacheSize}, {processor.L2CacheSize}, {processor.L3CacheSize}", true, 8); + TextWriterColor.WriteColor("- Name: ", false, 3); + TextWriterColor.WriteColor($"{processor.Name}", true, 8); + TextWriterColor.WriteColor("- Vendor (CPUID): ", false, 3); + TextWriterColor.WriteColor($"{processor.CpuidVendor}", true, 8); + TextWriterColor.WriteColor("- Vendor (Real): ", false, 3); + TextWriterColor.WriteColor($"{processor.Vendor}", true, 8); + TextWriterColor.WriteColor("- Clock speed: ", false, 3); + TextWriterColor.WriteColor($"{processor.Speed}", true, 8); + } + TextWriterColor.WriteColor("Total time taken to parse: ", false, 3); + TextWriterColor.WriteColor($"{stopwatch.Elapsed}", true, 8); + TextWriterColor.Write(); + stopwatch.Reset(); + + // Memory + SeparatorWriterColor.WriteSeparator("Memory information", true, 15); + stopwatch.Start(); + var memoryParts = HardwareProber.Memory; + stopwatch.Stop(); + foreach (var memory in memoryParts) + { + TextWriterColor.WriteColor("- Total memory (system): ", false, 3); + TextWriterColor.WriteColor($"{memory.TotalMemory}", true, 8); + TextWriterColor.WriteColor("- Total memory (real): ", false, 3); + TextWriterColor.WriteColor($"{memory.TotalPhysicalMemory}", true, 8); + TextWriterColor.WriteColor("- Reserved memory: ", false, 3); + TextWriterColor.WriteColor($"{memory.SystemReservedMemory}", true, 8); + } + TextWriterColor.WriteColor("Total time taken to parse: ", false, 3); + TextWriterColor.WriteColor($"{stopwatch.Elapsed}", true, 8); + TextWriterColor.Write(); + stopwatch.Reset(); + + // Video + SeparatorWriterColor.WriteSeparator("Video information", true, 15); + stopwatch.Start(); + var videoParts = HardwareProber.Video; + stopwatch.Stop(); + foreach (var video in videoParts) + { + TextWriterColor.WriteColor("- Video card name: ", false, 3); + TextWriterColor.WriteColor($"{video.VideoCardName}", true, 8); + } + TextWriterColor.WriteColor("Total time taken to parse: ", false, 3); + TextWriterColor.WriteColor($"{stopwatch.Elapsed}", true, 8); + TextWriterColor.Write(); + stopwatch.Reset(); + + // Hard drive + SeparatorWriterColor.WriteSeparator("Hard drive information", true, 15); + stopwatch.Start(); + var hardDiskParts = HardwareProber.HardDisk; + stopwatch.Stop(); + foreach (var hardDisk in hardDiskParts) + { + TextWriterColor.WriteColor("- Hard drive size: ", false, 3); + TextWriterColor.WriteColor($"{hardDisk.HardDiskSize}", true, 8); + TextWriterColor.WriteColor("- Partition count: ", false, 3); + TextWriterColor.WriteColor($"{hardDisk.PartitionCount}", true, 8); + for (int i = 0; i < hardDisk.Partitions.Length; i++) + { + HardDiskPart.PartitionPart partition = hardDisk.Partitions[i]; + TextWriterColor.WriteColor(" - Partition number (real): ", false, 3); + TextWriterColor.WriteColor($"{i + 1}", true, 8); + TextWriterColor.WriteColor(" - Partition number (OS): ", false, 3); + TextWriterColor.WriteColor($"{partition.PartitionNumber}", true, 8); + TextWriterColor.WriteColor(" - Partition size: ", false, 3); + TextWriterColor.WriteColor($"{partition.PartitionSize}", true, 8); + } + } + TextWriterColor.WriteColor("Total time taken to parse: ", false, 3); + TextWriterColor.WriteColor($"{stopwatch.Elapsed}", true, 8); + TextWriterColor.Write(); + stopwatch.Reset(); + + totalStopwatch.Stop(); + TextWriterColor.WriteColor("Total time: ", false, 3); + TextWriterColor.WriteColor($"{totalStopwatch.Elapsed}", true, 8); + TextWriterColor.Write(); + totalStopwatch.Reset(); + + // List errors + foreach (var exc in HardwareProber.Errors) + { + TextWriterColor.WriteColor("Error: ", false, 3); + TextWriterColor.WriteColor($"{exc.Message}", true, 8); + } + } + } +} diff --git a/SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj b/SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj new file mode 100644 index 0000000..d358c8e --- /dev/null +++ b/SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj @@ -0,0 +1,23 @@ + + + + Exe + SpecProbe.ConsoleTest + net6.0 + true + latest + True + ..\aptivi_snk.snk + app.manifest + ../SpecProbe.ConsoleTest.Bin/ + + + + + + + + + + + diff --git a/SpecProbe.ConsoleTest/app.manifest b/SpecProbe.ConsoleTest/app.manifest new file mode 100644 index 0000000..c5c62d8 --- /dev/null +++ b/SpecProbe.ConsoleTest/app.manifest @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/SpecProbe.Native/Helpers/ProcessorHelper.cs b/SpecProbe.Native/Helpers/ProcessorHelper.cs new file mode 100644 index 0000000..064585a --- /dev/null +++ b/SpecProbe.Native/Helpers/ProcessorHelper.cs @@ -0,0 +1,32 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using System; +using System.Runtime.InteropServices; + +namespace SpecProbe.Native.Helpers +{ + internal class ProcessorHelper + { + [DllImport("libspecprober", CallingConvention = CallingConvention.Cdecl)] + public static extern IntPtr specprobe_get_vendor(); + + [DllImport("libspecprober", CallingConvention = CallingConvention.Cdecl)] + public static extern IntPtr specprobe_get_cpu_name(); + } +} diff --git a/SpecProbe.Native/Initializer.cs b/SpecProbe.Native/Initializer.cs new file mode 100644 index 0000000..7ab5f96 --- /dev/null +++ b/SpecProbe.Native/Initializer.cs @@ -0,0 +1,97 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Native.Kernel; +using System; +using System.IO; +using System.Reflection; +using System.Runtime.InteropServices; + +namespace SpecProbe.Native +{ + internal static class Initializer + { + private static bool _initialized; + private const string LibraryName = "libspecprober"; + + internal static void InitializeNative() + { + if (_initialized) + return; + string libPath = GetLibraryPath(); + if (!File.Exists(libPath)) + throw new Exception("Can't load specprober library."); + NativeLibrary.SetDllImportResolver(typeof(Initializer).Assembly, ResolveLibrary); + _initialized = true; + } + + private static string GetLibraryPath() + { + string execPath = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + "/"; + string nonSpecificRid = + (IsOnWindows() ? "win-" : + IsOnMacOS() ? "osx-" : + IsOnUnix() ? "linux-" : + "freebsd-") + RuntimeInformation.OSArchitecture.ToString().ToLower(); + string directory = $"runtimes/{nonSpecificRid}/native/"; + string libName = $"{LibraryName}{(IsOnWindows() ? ".dll" : IsOnMacOS() ? ".dylib" : ".so")}"; + string path = $"{execPath}{directory}{libName}"; + return path; + } + + private static nint ResolveLibrary(string libraryName, Assembly assembly, DllImportSearchPath? searchPath) + { + IntPtr libHandle = IntPtr.Zero; + if (libraryName == LibraryName) + { + string path = GetLibraryPath(); + libHandle = NativeLibrary.Load(path); + } + return libHandle; + } + + /// + /// Is this system a Windows system? + /// + /// True if running on Windows (Windows 10, Windows 11, etc.). Otherwise, false. + internal static bool IsOnWindows() => + Environment.OSVersion.Platform == PlatformID.Win32NT; + + /// + /// Is this system a Unix system? True for macOS, too! + /// + /// True if running on Unix (Linux, *nix, etc.). Otherwise, false. + internal static bool IsOnUnix() => + Environment.OSVersion.Platform == PlatformID.Unix; + + /// + /// Is this system a macOS system? + /// + /// True if running on macOS (MacBook, iMac, etc.). Otherwise, false. + internal static bool IsOnMacOS() + { + if (IsOnUnix()) + { + string System = UnameManager.GetUname(UnameTypes.KernelName); + return System.Contains("Darwin"); + } + else + return false; + } + } +} diff --git a/SpecProbe.Native/Kernel/UnameEnumerations.cs b/SpecProbe.Native/Kernel/UnameEnumerations.cs new file mode 100644 index 0000000..c08a46f --- /dev/null +++ b/SpecProbe.Native/Kernel/UnameEnumerations.cs @@ -0,0 +1,54 @@ +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +namespace SpecProbe.Native.Kernel +{ + /// + /// The uname types + /// + public enum UnameTypes + { + /// + /// The kernel name + /// + KernelName = 1, + /// + /// The network node host name (usually a hostname) + /// + NetworkNode = 2, + /// + /// Kernel release version + /// + KernelRelease = 4, + /// + /// Kernel release extended version + /// + KernelVersion = 8, + /// + /// Machine type + /// + Machine = 16, + /// + /// Operating system type + /// + OperatingSystem = 32, + /// + /// All! same as "uname -a" + /// + All = KernelName | NetworkNode | KernelRelease | KernelVersion | Machine | OperatingSystem + } +} diff --git a/SpecProbe.Native/Kernel/UnameManager.cs b/SpecProbe.Native/Kernel/UnameManager.cs new file mode 100644 index 0000000..a1ce016 --- /dev/null +++ b/SpecProbe.Native/Kernel/UnameManager.cs @@ -0,0 +1,83 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using System; +using System.Diagnostics; +using System.IO; +using System.Text; + +namespace SpecProbe.Native.Kernel +{ + /// + /// Kernel information probing manager + /// + public static class UnameManager + { + /// + /// Gets details from the uname process + /// + /// All the uname types the high-level APIs passed + /// Uname string output + public static string GetUname(UnameTypes unameTypes) + { + // Check the platform + if (!Initializer.IsOnUnix()) + throw new PlatformNotSupportedException("This function is only supported on Unix."); + + // Check the uname executable paths + string UnameExecutable = File.Exists("/usr/bin/uname") ? "/usr/bin/uname" : "/bin/uname"; + UnameExecutable = File.Exists("/system/xbin/uname") ? "/system/xbin/uname" : UnameExecutable; + + // Select arguments according to the types + StringBuilder argsBuilder = new(); + if (unameTypes.HasFlag(UnameTypes.KernelName)) + argsBuilder.Append("-s "); + if (unameTypes.HasFlag(UnameTypes.KernelRelease)) + argsBuilder.Append("-r "); + if (unameTypes.HasFlag(UnameTypes.KernelVersion)) + argsBuilder.Append("-v "); + if (unameTypes.HasFlag(UnameTypes.NetworkNode)) + argsBuilder.Append("-n "); + if (unameTypes.HasFlag(UnameTypes.Machine)) + argsBuilder.Append("-m "); + if (unameTypes.HasFlag(UnameTypes.OperatingSystem)) + argsBuilder.Append("-o "); + string Args = argsBuilder.ToString().Trim(); + + // Make a new instance of process + Process UnameS = new(); + ProcessStartInfo UnameSInfo = new() + { + FileName = UnameExecutable, + Arguments = Args, + CreateNoWindow = true, + UseShellExecute = false, + WindowStyle = ProcessWindowStyle.Hidden, + RedirectStandardOutput = true + }; + UnameS.StartInfo = UnameSInfo; + + // Start the process and wait for the output to flow + UnameS.Start(); + UnameS.WaitForExit(); + + // Return the output + return UnameS.StandardOutput.ReadToEnd().Trim(new char[] { '\n' }); + } + } +} diff --git a/SpecProbe.Native/Properties/AssemblyInfo.cs b/SpecProbe.Native/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..39330f4 --- /dev/null +++ b/SpecProbe.Native/Properties/AssemblyInfo.cs @@ -0,0 +1,21 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("SpecProbe, PublicKey=0024000004800000940000000602000000240000525341310004000001000100812e5231186da64504a543d5306da254e9062027fdaee10f569d93ecc1debc91770d1a077b762aea3ced57c09d9f033f9991960429980b625908628c80785a67a3b65bbb410c7623a0d7bbc1a9770b978358941714b5e2a806e5aa8fa58bb505f859be5fc3ebcce5b2c5d4c0820460c9d3e23cf66f3c00de5e0d154fec6a89b3")] diff --git a/SpecProbe.Native/SpecProbe.Native.csproj b/SpecProbe.Native/SpecProbe.Native.csproj new file mode 100644 index 0000000..6b36bd2 --- /dev/null +++ b/SpecProbe.Native/SpecProbe.Native.csproj @@ -0,0 +1,48 @@ + + + + net6.0 + true + true + ../SpecProbe.Bin + ../SpecProbe.Bin/ + disable + SpecProbe.Native + Aptivi + SpecProbe.Native + SpecProbe native helper library + specprobe;native;runtime;csharp;library + https://github.com/Aptivi/SpecProbe + GPL-3.0-or-later + OfficialAppIcon-SpecProbe-512.png + True + README.md + https://github.com/Aptivi/SpecProbe.git + git + 1.0.0 + True + ..\aptivi_snk.snk + + + + + + + + + + + + + Always + + + + + + + + + + + diff --git a/SpecProbe.Native/SpecProbe.Native.targets b/SpecProbe.Native/SpecProbe.Native.targets new file mode 100644 index 0000000..dd2061b --- /dev/null +++ b/SpecProbe.Native/SpecProbe.Native.targets @@ -0,0 +1,21 @@ + + + + + %(FileName)%(Extension) + PreserveNewest + + + + + %(FileName)%(Extension) + PreserveNewest + + + + + %(FileName)%(Extension) + PreserveNewest + + + diff --git a/SpecProbe.Native/runtimes/linux-x64/native/libspecprober.so b/SpecProbe.Native/runtimes/linux-x64/native/libspecprober.so new file mode 100644 index 0000000000000000000000000000000000000000..e13e23d3fffd2b1665364eeab360707cba0958fd GIT binary patch literal 15632 zcmeHOU2Ggz6~4QU8@F-nO}c4Kl9Fu|OD=7;n?G8YI$7IUX99NO#J0p=H5u=Y?WOx; zc4w2gQejg=s%2&5JQUGNeQ5;>;-Qh?p+Z7+6qJ|>feU>wJb;B#X(L5t0~E|pJ)AT5 zoZ0bY7pgvhkmgFe=boSMoHJ+cc3y_VxYa~8O zykWw*>&X056pty#I|(?f%ZD9&nom)@M(3e}j+-f!*QzJ_z%_I9_?Q5*1j-N5hPn$TuMJngX=6RBDp&AL3@4x4#fv&(+4X+e&hk7>?P32vnoVkd-85vB|jutFqzzp zt6%|m9Q=2HufGV@u}arD%d6xt5Vc@}<;*W0mU3KETxygoIpn-nQNHYu)1OEbixr0) zec2-_XShyr4fAM;${EV}+GL$ay$X00@G9U{z^i~)0j~mH1-uHlEAXfGkN;hnz15TKZTl`zc)>DV&39$!+Z0WHg9%b z0PBhNT}OmvZ+3pm#edW0mARgaz$kOg-$2s6YHWj4!Z?Ri?lxE2cNH<*Ria?8S@s7% zkL2MsrBqd}ymwf+vf8Bht|@P?89{LHL0CFyF;`?BjK_S7Jr4j@6doB(}1<(BmU-DP>um+L@7O2RZ4}5QW{%PN<+&^IaV!0 zEn_R?Kxwh`cKfTP-zw$js-=w}tCS+BDWQJ36qr}aPp|&;Dmp}8a1ufZrM#iD%gQIV zx_9AvYz5{;Wp3z}GB;LH<_b5IxflexUik`S@FqOSh|2fZOj9XA*s&Ynw^|C|w=y@p zp&Ywa@)Og7(Iqpx(0UCH7>&wfs|n?ipcT<*uABr<|0y4M^r)N9dw_j&FXpqu&SwRK zIP--|Rlt&f70`gG>%dwivj@lv44ew-^@JLkG<)NC(kkjRE zr^_y<%SUVVoLz`CC}G1*>51|~@G9U{;QzA%c3&esWO0uo z_DbStlSI5mw3R3~QsQroI7aW4^kb6P{gXS0$LB8`+a(d)M~Tl|I9UJwnwdquO3jSi z16ideN$!2@ApRaShVhmp(0?vR2T?K;73!ZPx59e%1RH)%4UPxDA6oe@!7q$B;P+UI=eok9r^Ww>^nW9s^OUIn-Z%HFyCX(uJy098;C|Ml z{ryjdy2i!}8KV%|yB~UQBYO@MEO!6HByjt3@>qur;>flHY5uJE;`{`>oMGUk5BdW7%)D*D=dqgh{>pUj;e( z>83tmg#e9?_jSK0hp9vgASGKEJ=V44{}H zwv_Z15cI=!W9_OXzt6sYSl$K)<`;1Fxz0-vv++#NPRS&O9_st;08Ze~Ins_Q&3N9=Fug>E9G~mQ$A6yiePqY`Bc>c5@%O>U zjW2@?Yr^|C`@TW<58fw&i8VM6<}bj+i4PHuDaU7fQrlrJy70qfz?AJ9;a_&)PZNM? zh=D}eAJf-d_#!EozGI&l>40(U_IoZo@3)!qKAi2{^^^Mz$N3MDCDErCNYstT{Rh^c z(~O3sAydA7q_lSanZFJb+{@uLgoEF&;`jY{y+~~h&+=b^q8&br=jVs&9*JPPM)==> z0@ohnd0)iuZ}NMZ{Jg>b_&ngg509Vm{9f1MV<3bPvc79yjAvQ_l@rg;BNf7T)u7gl zaZGQ!@Vp-nL?n>y*o~Y2D=1LL`SU)nqX8asb&h`mgEBI=RgCYnC33=eC*`%{G>wwO tH%N(p2e!e7^XI=m_?*SLJMpXgB=>U;L`oM6JMH@TYX>Bt*#&U1;$NKW$oc>P literal 0 HcmV?d00001 diff --git a/SpecProbe.Native/runtimes/linux-x86/native/libspecprober.so b/SpecProbe.Native/runtimes/linux-x86/native/libspecprober.so new file mode 100644 index 0000000000000000000000000000000000000000..ec5f91bb59b5679304d29e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%96LDW`=oIuxc0Eq99k_Wo9)Q0C%=-<2`HnKDq>kM} Xe8d0^k}9WlH*UioA^s{skP`QArzyA^ literal 0 HcmV?d00001 diff --git a/SpecProbe.Native/runtimes/win-x64/native/libspecprober.dll b/SpecProbe.Native/runtimes/win-x64/native/libspecprober.dll new file mode 100644 index 0000000000000000000000000000000000000000..de97257596c52ebea84bf22d697d071751fbbccb GIT binary patch literal 90395 zcmeFa34Bw>wLd;rSNBS?WJ}(#4K~Qw218hEb_ft}0vTj%Yy&2nFt!X%yhV~(vH>xq zsIF6zG;PzzOKG~LZPKPqU$b-xguFn~Hld_V(ZZL8|5AOi2rRu(zDuI!>vH}Q9v0SWjmjM*sp@I!?S{da1-$W zf?44v!o~e65HhPz(D6JXubkhMI3jpC-3~$5K)TojN9iVIw1W6;4uufHTtvr(Bq;H> zo8$`!eq853aDLMh=_-g{r=a6yasc5};4{vmJ3Onpv6-+f^f&}Z@{xYxeif8%xJ$@K z_`BhVZVmylUj^4+psTk{mi1wT5#2nvxL*ZhRkJ1TZVEpENAfLzi~Cg&UHM{;sis1H z4sILV61ccu1<}nd=NOgBpUgKGZ;~_aSHaVr&oST6!E3jqOENG{H-90gJ41GG2y|oz z&v8`rQ9=9`3T3@X*tE4nK#0k)4 z;Qbz4+^>S@%FE{xY7ivsj7---K4~2GPF5*KQmbR=k4+I%-V$D-TjJMYLZa$TwK>{BFih zTkju6<5@ZKOK)WOjMw?y^SzNry!#IK4|@lf{Q;IUXc>6NHm*_chFoy_KBni!Noh+XDxpPY4+?!n%N|` zckv_6y`Kh2k^pll_2h$WQrU?RdJf;)*@Io*<)j>QCApB7-OzQXW8ZMw@ zbQ0&(S{^R6_#tZ7srf)0h?bt)J2$1J1xP#)T;SttXNjh(vT!-P=i#~XPJCh@h45m*Rj2LRZJ@&ztf1v`2m z@wcwYJ2a!%8>!3nM%KA~5l^WvQdj03^yCg&@hly5MUF>);k>;v^0aTTF1Ip*>gRFS zL|~qt(g=~1MO+6iy5#6OZ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VFZXh7O|96a0<GAn`I*g4+C0;mCb#8sSZ!Be7~0vU zwnh&-Incb=o*|dcEfc;)_O%Fd?A{>4a|+k#oz;xh_=SI{7*@U#dTIp?jl+dD6Tulj zDAa=!wQWtpjc^L9)@RyUv(XkR;-<{3V!Zk7McVV|;POexQn9}Qa!ILh`qJ`ot@7|f zY|}Db>IJzUjjQHfGTR_Sb1;8BvRJwy#6+BcNv5asty35_74-2S`lW5z+%iAd@`k0S zQ-bP}oa(8@a~txY3WsaU3V8&@X?}oDMl{yLTa`Bvr7GKyZOs-q;lboBc@d6^yOvN+ zgXFaicH79MGe~d<`=86}`)Nus{F z+9L9d=9;#K>{KphpRF{iRC6%WkNBDxeZ0EH<{AbHGCXkbyi`EO9vn-#udlf}Y=06| zoRAGt!G|&`{wu}{Im3|BtF!6Fr4TMUjv(f0n@c0&NyUoIiJ)PjYMF1+EiE25UST&S zgdy92jam>WUTt$OBTfmsv}g?z6Em|m3ixF)_}fSfOe1!TlUO^wJmgidcx z*Qg*0s5%;2(<X^>JQKv)9W z0m0UYR-y1j!~vvS*bnz;vXtk&Xg=momtM#sijurVqzO;Yrk4~<6oRa}p3|Wma|0wo zbtwyaw517Wst#(^dc%@xXSMpsIoI%|p83+5(i&DMax zUT_>WNsAFA$f|1-b)@be7>`?$$uuAlQy=+eP6$JJO9mYB2=b3tk9k-_15mWL;)qY| znzmxDrkt|JM6Ybx%{VILR-29$&K?j#W@#DH!3^Di0Ol08A-zbB0AY7GZq1Hl>K5l) z7kiDILIizSdVowKMyEkG@?4y~kX>JYDWxyL>;$usS}>88_S1E2YEf{^>~>h}ISOK_ ztoux*bG{dxU5lGdVk+qg!?xuyDfhFw-v>FpDVWox`>1@KZ)^5*pLS#AD^UgY94P9Z G<^KR3-T{CB literal 0 HcmV?d00001 diff --git a/SpecProbe.sln b/SpecProbe.sln new file mode 100644 index 0000000..bad9329 --- /dev/null +++ b/SpecProbe.sln @@ -0,0 +1,37 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpecProbe", "SpecProbe\SpecProbe.csproj", "{A16FF845-C5EF-02F4-2713-69E0DC5B8E02}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpecProbe.ConsoleTest", "SpecProbe.ConsoleTest\SpecProbe.ConsoleTest.csproj", "{FE956F83-FFBE-0AD9-0FDC-EA7BE6F48162}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpecProbe.Native", "SpecProbe.Native\SpecProbe.Native.csproj", "{FEC21251-FA7A-4CE5-BF44-3D23916CFABE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A16FF845-C5EF-02F4-2713-69E0DC5B8E02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A16FF845-C5EF-02F4-2713-69E0DC5B8E02}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A16FF845-C5EF-02F4-2713-69E0DC5B8E02}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A16FF845-C5EF-02F4-2713-69E0DC5B8E02}.Release|Any CPU.Build.0 = Release|Any CPU + {FE956F83-FFBE-0AD9-0FDC-EA7BE6F48162}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FE956F83-FFBE-0AD9-0FDC-EA7BE6F48162}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FE956F83-FFBE-0AD9-0FDC-EA7BE6F48162}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FE956F83-FFBE-0AD9-0FDC-EA7BE6F48162}.Release|Any CPU.Build.0 = Release|Any CPU + {FEC21251-FA7A-4CE5-BF44-3D23916CFABE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FEC21251-FA7A-4CE5-BF44-3D23916CFABE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FEC21251-FA7A-4CE5-BF44-3D23916CFABE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FEC21251-FA7A-4CE5-BF44-3D23916CFABE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {432B461A-E720-46BD-83B1-BF438FA35B0C} + EndGlobalSection +EndGlobal diff --git a/SpecProbe/Hardware/HardwareProber.cs b/SpecProbe/Hardware/HardwareProber.cs new file mode 100644 index 0000000..21043ef --- /dev/null +++ b/SpecProbe/Hardware/HardwareProber.cs @@ -0,0 +1,108 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Hardware.Parts.Types; +using SpecProbe.Hardware.Probers; +using System; +using System.Collections.Generic; +using System.Linq; + +namespace SpecProbe.Hardware +{ + /// + /// Hardware probing class + /// + public static class HardwareProber + { + internal static List errors = new(); + private static ProcessorPart[] cachedProcessors; + private static MemoryPart[] cachedMemory; + private static VideoPart[] cachedVideos; + private static HardDiskPart[] cachedHardDisks; + private static readonly ProcessorProber processorProber = new(); + private static readonly MemoryProber memoryProber = new(); + private static readonly VideoProber videoProber = new(); + private static readonly HardDiskProber hardDiskProber = new(); + + /// + /// Gets the list of processors (always 1) + /// + public static ProcessorPart[] Processors => + cachedProcessors is not null ? cachedProcessors : ProbeProcessors(); + + /// + /// Gets the list of memory (always 1) + /// + public static MemoryPart[] Memory => + cachedMemory is not null ? cachedMemory : ProbeMemory(); + + /// + /// Gets the list of video cards + /// + public static VideoPart[] Video => + cachedVideos is not null ? cachedVideos : ProbeVideo(); + + /// + /// Gets the list of hard disks + /// + public static HardDiskPart[] HardDisk => + cachedHardDisks is not null ? cachedHardDisks : ProbeHardDisk(); + + /// + /// Gets the list of hardware prober errors + /// + public static Exception[] Errors => + errors.ToArray(); + + private static ProcessorPart[] ProbeProcessors() + { + // Get the base part class instances from the part prober + var processorBases = processorProber.GetBaseHardwareParts(); + var processors = processorBases.Cast(); + cachedProcessors = processors.ToArray(); + return cachedProcessors; + } + + private static MemoryPart[] ProbeMemory() + { + // Get the base part class instances from the part prober + var memoryBases = memoryProber.GetBaseHardwareParts(); + var memory = memoryBases.Cast(); + cachedMemory = memory.ToArray(); + return cachedMemory; + } + + private static VideoPart[] ProbeVideo() + { + // Get the base part class instances from the part prober + var videoBases = videoProber.GetBaseHardwareParts(); + var videos = videoBases.Cast(); + cachedVideos = videos.ToArray(); + return cachedVideos; + } + + private static HardDiskPart[] ProbeHardDisk() + { + // Get the base part class instances from the part prober + var hardDiskBases = hardDiskProber.GetBaseHardwareParts(); + var hardDisks = hardDiskBases.Cast(); + cachedHardDisks = hardDisks.ToArray(); + return cachedHardDisks; + } + } +} diff --git a/SpecProbe/Hardware/Parts/BaseHardwarePartInfo.cs b/SpecProbe/Hardware/Parts/BaseHardwarePartInfo.cs new file mode 100644 index 0000000..a356824 --- /dev/null +++ b/SpecProbe/Hardware/Parts/BaseHardwarePartInfo.cs @@ -0,0 +1,30 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +namespace SpecProbe.Hardware.Parts +{ + /// + /// Base hardware part information class + /// + public abstract class BaseHardwarePartInfo : IHardwarePartInfo + { + /// + public virtual HardwarePartType Type => + HardwarePartType.Unknown; + } +} diff --git a/SpecProbe/Hardware/Parts/HardwarePartType.cs b/SpecProbe/Hardware/Parts/HardwarePartType.cs new file mode 100644 index 0000000..266e2f7 --- /dev/null +++ b/SpecProbe/Hardware/Parts/HardwarePartType.cs @@ -0,0 +1,47 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +namespace SpecProbe.Hardware.Parts +{ + /// + /// Hardware part type + /// + public enum HardwarePartType + { + /// + /// Unknown hardware type + /// + Unknown = 0, + /// + /// Processors + /// + Processor, + /// + /// Random Access Memory + /// + Memory, + /// + /// Video Adapters (Graphics Cards) + /// + Video, + /// + /// Hard Drive + /// + HardDisk, + } +} diff --git a/SpecProbe/Hardware/Parts/IHardwarePartInfo.cs b/SpecProbe/Hardware/Parts/IHardwarePartInfo.cs new file mode 100644 index 0000000..b220581 --- /dev/null +++ b/SpecProbe/Hardware/Parts/IHardwarePartInfo.cs @@ -0,0 +1,31 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +namespace SpecProbe.Hardware.Parts +{ + /// + /// Hardware part info interface + /// + public interface IHardwarePartInfo + { + /// + /// Hardware part type + /// + HardwarePartType Type { get; } + } +} diff --git a/SpecProbe/Hardware/Parts/Types/HardDiskPart.cs b/SpecProbe/Hardware/Parts/Types/HardDiskPart.cs new file mode 100644 index 0000000..18c7b2b --- /dev/null +++ b/SpecProbe/Hardware/Parts/Types/HardDiskPart.cs @@ -0,0 +1,90 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +namespace SpecProbe.Hardware.Parts.Types +{ + /// + /// Hard disk part + /// + public class HardDiskPart : BaseHardwarePartInfo, IHardwarePartInfo + { + /// + /// Partition class for the hard drive + /// + public class PartitionPart + { + private int partNum; + private long partSize; + + /// + /// Partition number defined by the operating system + /// + public int PartitionNumber + { + get => partNum; + internal set => partNum = value; + } + /// + /// Partition size in bytes + /// + public long PartitionSize + { + get => partSize; + internal set => partSize = value; + } + } + + private ulong hardDiskSize; + private int hardDiskNum; + private PartitionPart[] parts; + + /// + public override HardwarePartType Type => + HardwarePartType.HardDisk; + + /// + /// Hard disk size in bytes + /// + public ulong HardDiskSize + { + get => hardDiskSize; + internal set => hardDiskSize = value; + } + /// + /// Hard disk number + /// + public int HardDiskNumber + { + get => hardDiskNum; + internal set => hardDiskNum = value; + } + /// + /// Number of partitions + /// + public int PartitionCount => + Partitions.Length; + /// + /// List of partitions + /// + public PartitionPart[] Partitions + { + get => parts; + internal set => parts = value; + } + } +} diff --git a/SpecProbe/Hardware/Parts/Types/MemoryPart.cs b/SpecProbe/Hardware/Parts/Types/MemoryPart.cs new file mode 100644 index 0000000..b4c55be --- /dev/null +++ b/SpecProbe/Hardware/Parts/Types/MemoryPart.cs @@ -0,0 +1,55 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +namespace SpecProbe.Hardware.Parts.Types +{ + /// + /// Memory part + /// + public class MemoryPart : BaseHardwarePartInfo, IHardwarePartInfo + { + private long totalMemory; + private long totalPhysicalMemory; + + /// + public override HardwarePartType Type => + HardwarePartType.Memory; + + /// + /// Total memory available to the system + /// + public long TotalMemory + { + get => totalMemory; + internal set => totalMemory = value; + } + /// + /// Total memory installed physically, including reserved memory + /// + public long TotalPhysicalMemory + { + get => totalPhysicalMemory; + internal set => totalPhysicalMemory = value; + } + /// + /// System reserved memory (can't be used by the operating system) + /// + public long SystemReservedMemory => + TotalPhysicalMemory - TotalMemory; + } +} diff --git a/SpecProbe/Hardware/Parts/Types/ProcessorPart.cs b/SpecProbe/Hardware/Parts/Types/ProcessorPart.cs new file mode 100644 index 0000000..3c05d36 --- /dev/null +++ b/SpecProbe/Hardware/Parts/Types/ProcessorPart.cs @@ -0,0 +1,124 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +namespace SpecProbe.Hardware.Parts.Types +{ + /// + /// Processor part + /// + public class ProcessorPart : BaseHardwarePartInfo, IHardwarePartInfo + { + private int coresNum; + private int coresForEachCore; + private uint cacheL1; + private uint cacheL2; + private uint cacheL3; + private string name; + private string cpuidVendor; + private double speed; + + /// + public override HardwarePartType Type => + HardwarePartType.Processor; + + /// + /// Number of cores + /// + public int ProcessorCores + { + get => coresNum; + internal set => coresNum = value; + } + /// + /// Number of cores for each core (with hyperthreading enabled, it's more than one for each physical core) + /// + public int CoresForEachCore + { + get => coresForEachCore; + internal set => coresForEachCore = value; + } + /// + /// Total number of processor cores + /// + public int TotalCores => + ProcessorCores * CoresForEachCore; + /// + /// Size of the L1 cache in bytes + /// + public uint L1CacheSize + { + get => cacheL1; + internal set => cacheL1 = value; + } + /// + /// Size of the L2 cache in bytes + /// + public uint L2CacheSize + { + get => cacheL2; + internal set => cacheL2 = value; + } + /// + /// Size of the L3 cache in bytes + /// + public uint L3CacheSize + { + get => cacheL3; + internal set => cacheL3 = value; + } + /// + /// Processor name + /// + public string Name + { + get => name; + internal set => name = value; + } + /// + /// Processor vendor from CPUID + /// + public string CpuidVendor + { + get => cpuidVendor; + internal set => cpuidVendor = value; + } + /// + /// Processor vendor (real) + /// + public string Vendor + { + get + { + return CpuidVendor switch + { + "AuthenticAMD" => "AMD", + "GenuineIntel" => "Intel", + _ => Name.Contains(' ') ? Name.Split(' ')[0] : "Unknown", + }; + } + } + /// + /// Processor in Mhz + /// + public double Speed + { + get => speed; + internal set => speed = value; + } + } +} diff --git a/SpecProbe/Hardware/Parts/Types/VideoPart.cs b/SpecProbe/Hardware/Parts/Types/VideoPart.cs new file mode 100644 index 0000000..7f5e5a6 --- /dev/null +++ b/SpecProbe/Hardware/Parts/Types/VideoPart.cs @@ -0,0 +1,41 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +namespace SpecProbe.Hardware.Parts.Types +{ + /// + /// Video card part + /// + public class VideoPart : BaseHardwarePartInfo, IHardwarePartInfo + { + private string videoCardName; + + /// + public override HardwarePartType Type => + HardwarePartType.Video; + + /// + /// Video card name + /// + public string VideoCardName + { + get => videoCardName; + internal set => videoCardName = value; + } + } +} diff --git a/SpecProbe/Hardware/Probers/HardDiskProber.cs b/SpecProbe/Hardware/Probers/HardDiskProber.cs new file mode 100644 index 0000000..f6b60f6 --- /dev/null +++ b/SpecProbe/Hardware/Probers/HardDiskProber.cs @@ -0,0 +1,196 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Hardware.Parts; +using SpecProbe.Hardware.Parts.Types; +using SpecProbe.Platform; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices; + +namespace SpecProbe.Hardware.Probers +{ + internal class HardDiskProber : IHardwareProber + { + public BaseHardwarePartInfo[] GetBaseHardwareParts() + { + if (PlatformHelper.IsOnWindows()) + return GetBaseHardwarePartsWindows(); + else + return GetBaseHardwarePartsLinux(); + } + + public BaseHardwarePartInfo[] GetBaseHardwarePartsLinux() + { + // TODO: Android devices must be rooted to be able to run this. + // Some variables to install. + List diskParts = new(); + List partitions = new(); + + // Get the blocks + try + { + string blockListFolder = "/sys/block"; + string[] blockFolders = Directory.GetDirectories(blockListFolder).Where((dir) => !dir.Contains("/sys/block/loop")).ToArray(); + for (int i = 0; i < blockFolders.Length; i++) + { + string blockFolder = blockFolders[i]; + + // Verify that the block is non-removable (HDDs) + string blockStateFile = $"{blockFolder}/removable"; + string blockStateStr = File.ReadAllLines(blockStateFile)[0]; + int blockState = int.Parse(blockStateStr); + if (blockState == 0) + { + // Now, get the size + string blockSizeFile = $"{blockFolder}/size"; + string blockSizeStr = File.ReadAllLines(blockSizeFile)[0]; + ulong blockSize = ulong.Parse(blockSizeStr); + ulong actualSize = blockSize * 512; + + // Get the partitions + string devName = blockFolder[(blockFolder.LastIndexOf("/") + 1)..]; + string devPartFolderInitial = $"{blockFolder}/{devName}"; + + // Check if the dev name ends with a number (such as nvme0n1p1, mmcblk0p1, etc.) + bool appendPartitionChar = int.TryParse($"{devName[^1]}", out int devNum); + int partNum = 1; + while (true) + { + string partPath = appendPartitionChar ? + $"{devPartFolderInitial}p{partNum}" : + $"{devPartFolderInitial}{partNum}"; + if (!Directory.Exists(partPath)) + { + if (partNum <= 4) + { + partNum++; + continue; + } + break; + } + string partSizeFile = $"{partPath}/size"; + string partSizeStr = File.ReadAllLines(partSizeFile)[0]; + long partSize = long.Parse(partSizeStr); + long partActualSize = partSize * 512; + partitions.Add(new HardDiskPart.PartitionPart + { + PartitionNumber = partNum, + PartitionSize = partActualSize, + }); + partNum++; + } + + // Add disk + diskParts.Add(new HardDiskPart + { + HardDiskSize = actualSize, + HardDiskNumber = devNum, + Partitions = partitions.ToArray(), + }); + partitions.Clear(); + } + } + } + catch (Exception ex) + { + HardwareProber.errors.Add(ex); + } + + // Finally, return an array containing information + return diskParts.ToArray(); + } + + public BaseHardwarePartInfo[] GetBaseHardwarePartsWindows() + { + List diskParts = new(); + List partitions = new(); + + try + { + // First, get the list of logical partitions so that we can get the letters agnostically + var drives = DriveInfo.GetDrives(); + List<(string letter, long partSize)> parts = new(); + foreach (var drive in drives) + { + if (drive.IsReady) + { + // Drive is ready. Now, check the type, as this prober only checks for HDD + if (drive.DriveType == DriveType.Fixed) + parts.Add(("\\\\.\\" + drive.Name[..(drive.Name.Length - 1)], drive.TotalSize)); + } + } + + // Then, open the file handle to these drives for us to be able to get the hard drive geometry + List driveHandles = new(); + foreach (var (letter, partSize) in parts) + { + IntPtr driveHandle = PlatformWindowsInterop.CreateFile(letter, FileAccess.Read, FileShare.ReadWrite, IntPtr.Zero, FileMode.Open, FileAttributes.System, IntPtr.Zero); + if (driveHandle != new IntPtr(-1)) + driveHandles.Add(driveHandle); + } + + // Enumerate through the handles to try to get their drive geometry + for (int i = 0; i < driveHandles.Count; i++) + { + // Try to get drive storage info + IntPtr drive = driveHandles[i]; + bool result = PlatformWindowsInterop.DeviceIoControl(drive, PlatformWindowsInterop.EIOControlCode.DiskGetDriveGeometry, null, 0, out PlatformWindowsInterop.DISK_GEOMETRY drvGeom, Marshal.SizeOf(), out _, IntPtr.Zero); + if (!result) + continue; + + // Get the hard disk size and number + bool partResult = PlatformWindowsInterop.DeviceIoControl(drive, PlatformWindowsInterop.EIOControlCode.StorageGetDeviceNumber, null, 0, out PlatformWindowsInterop.STORAGE_DEVICE_NUMBER devNumber, Marshal.SizeOf(), out _, IntPtr.Zero); + if (!partResult) + continue; + ulong hardDiskSize = (ulong)(drvGeom.Cylinders * drvGeom.TracksPerCylinder * drvGeom.SectorsPerTrack * drvGeom.BytesPerSector); + int diskNum = devNumber.DeviceNumber; + + // Install the initial hard disk part + if (diskParts.Count == 0 || !diskParts.Any((part) => part.HardDiskNumber == diskNum)) + { + partitions.Clear(); + diskParts.Add(new HardDiskPart + { + HardDiskSize = hardDiskSize, + }); + } + + // Now, deal with making partition info classes + int partNum = devNumber.PartitionNumber; + partitions.Add(new HardDiskPart.PartitionPart + { + PartitionNumber = partNum, + PartitionSize = parts[i].partSize, + }); + diskParts[^1].HardDiskNumber = diskNum; + diskParts[^1].Partitions = partitions.ToArray(); + } + } + catch (Exception ex) + { + HardwareProber.errors.Add(ex); + } + + // Finally, return an item array containing information + return diskParts.ToArray(); + } + } +} diff --git a/SpecProbe/Hardware/Probers/IHardwareProber.cs b/SpecProbe/Hardware/Probers/IHardwareProber.cs new file mode 100644 index 0000000..161446a --- /dev/null +++ b/SpecProbe/Hardware/Probers/IHardwareProber.cs @@ -0,0 +1,32 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Hardware.Parts; + +namespace SpecProbe.Hardware.Probers +{ + internal interface IHardwareProber + { + // Wrapper function for platform-specific functions + BaseHardwarePartInfo[] GetBaseHardwareParts(); + + // Platform-specific functions + BaseHardwarePartInfo[] GetBaseHardwarePartsWindows(); + BaseHardwarePartInfo[] GetBaseHardwarePartsLinux(); + } +} diff --git a/SpecProbe/Hardware/Probers/MemoryProber.cs b/SpecProbe/Hardware/Probers/MemoryProber.cs new file mode 100644 index 0000000..90762d1 --- /dev/null +++ b/SpecProbe/Hardware/Probers/MemoryProber.cs @@ -0,0 +1,139 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Hardware.Parts; +using SpecProbe.Hardware.Parts.Types; +using SpecProbe.Platform; +using System; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices; + +namespace SpecProbe.Hardware.Probers +{ + internal class MemoryProber : IHardwareProber + { + public BaseHardwarePartInfo[] GetBaseHardwareParts() + { + if (PlatformHelper.IsOnWindows()) + return GetBaseHardwarePartsWindows(); + else + return GetBaseHardwarePartsLinux(); + } + + public BaseHardwarePartInfo[] GetBaseHardwarePartsLinux() + { + // Some variables to install. + long totalMemory = 0; + long totalPhysicalMemory = 0; + + // Some constants + const string total = "MemTotal:"; + + try + { + // Open the meminfo file + string memInfoFile = "/proc/meminfo"; + string[] memInfoContents = File.ReadAllLines(memInfoFile); + foreach (string memInfoLine in memInfoContents) + { + // Get the total memory amount + if (memInfoLine.StartsWith(total)) + { + // in KiB + string totalMemString = memInfoLine.Replace(total, "").Trim().Replace(" kB", ""); + long totalMemKb = long.Parse(totalMemString); + long totalMemNum = totalMemKb * 1024; + totalMemory = totalMemNum; + } + } + + // TODO: Some systems don't have block_size_bytes. In this case, keep the value zero. + // Open the cache list to get cache sizes in kilobytes + string memoryBlockListFolder = "/sys/devices/system/memory"; + string memoryBlockSizeFile = $"{memoryBlockListFolder}/block_size_bytes"; + if (File.Exists(memoryBlockSizeFile)) + { + string memoryBlockSizeStr = File.ReadAllLines(memoryBlockSizeFile)[0]; + long memoryBlockSize = long.Parse(memoryBlockSizeStr, NumberStyles.AllowHexSpecifier); + + // Get all memory blocks + string[] memoryBlockFolders = Directory.GetDirectories(memoryBlockListFolder).Where((dir) => !dir.EndsWith("power")).ToArray(); + foreach (string memoryBlockFolder in memoryBlockFolders) + { + // Verify that the memory is online + string memoryBlockStateFile = $"{memoryBlockFolder}/online"; + string memoryBlockStateStr = File.ReadAllLines(memoryBlockStateFile)[0]; + int memoryBlockState = int.Parse(memoryBlockStateStr); + if (memoryBlockState == 1) + totalPhysicalMemory += memoryBlockSize; + } + } + } + catch (Exception ex) + { + HardwareProber.errors.Add(ex); + } + + // Finally, return a single item array containing information + MemoryPart part = new() + { + TotalMemory = totalMemory, + TotalPhysicalMemory = totalPhysicalMemory, + }; + return new[] { part }; + } + + public BaseHardwarePartInfo[] GetBaseHardwarePartsWindows() + { + // Some variables to install. + long totalMemory = 0; + long totalPhysicalMemory = 0; + + try + { + // Get memory info (base) + var status = new PlatformWindowsInterop.MEMORYSTATUSEX() + { + dwLength = (uint)Marshal.SizeOf(typeof(PlatformWindowsInterop.MEMORYSTATUSEX)), + }; + if (!PlatformWindowsInterop.GlobalMemoryStatusEx(ref status)) + throw new Exception("Can't get memory status"); + totalMemory = (long)status.ullTotalPhys; + + // Get physically installed memory to all the RAM slots + if (!PlatformWindowsInterop.GetPhysicallyInstalledSystemMemory(ref totalPhysicalMemory)) + throw new Exception("Can't get memory status"); + totalPhysicalMemory *= 1024; + } + catch (Exception ex) + { + HardwareProber.errors.Add(ex); + } + + // Finally, return a single item array containing information + MemoryPart part = new() + { + TotalMemory = totalMemory, + TotalPhysicalMemory = totalPhysicalMemory, + }; + return new[] { part }; + } + } +} diff --git a/SpecProbe/Hardware/Probers/ProcessorProber.cs b/SpecProbe/Hardware/Probers/ProcessorProber.cs new file mode 100644 index 0000000..2bd008b --- /dev/null +++ b/SpecProbe/Hardware/Probers/ProcessorProber.cs @@ -0,0 +1,306 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Hardware.Parts; +using SpecProbe.Hardware.Parts.Types; +using SpecProbe.Native; +using SpecProbe.Native.Helpers; +using SpecProbe.Platform; +using System; +using System.Globalization; +using System.IO; +using System.Runtime.InteropServices; + +namespace SpecProbe.Hardware.Probers +{ + internal class ProcessorProber : IHardwareProber + { + public BaseHardwarePartInfo[] GetBaseHardwareParts() + { + if (PlatformHelper.IsOnWindows()) + return GetBaseHardwarePartsWindows(); + else + return GetBaseHardwarePartsLinux(); + } + + public BaseHardwarePartInfo[] GetBaseHardwarePartsLinux() + { + // Some variables to install. + int numberOfCores = 0; + int numberOfCoresForEachCore = 1; + uint cacheL1 = 0; + uint cacheL2 = 0; + uint cacheL3 = 0; + string name = ""; + string cpuidVendor = ""; + double clockSpeed = 0.0; + + // Some constants + const string physicalId = "physical id\t: "; + const string cpuCores = "cpu cores\t: "; + const string cpuClockSpeed = "cpu MHz\t\t: "; + const string vendorId = "vendor_id\t: "; + const string modelId = "model name\t: "; + const string processorNum = "processor\t: "; + const string armProcessorName = "Processor\t: "; + const string armVendorName = "CPU implementer\t: "; + + try + { + // Open the cpuinfo file + string cpuInfoFile = "/proc/cpuinfo"; + string[] cpuInfoContents = File.ReadAllLines(cpuInfoFile); + foreach (string cpuInfoLine in cpuInfoContents) + { + if (PlatformHelper.IsOnArmOrArm64()) + { + // Get the processor number + if (cpuInfoLine.StartsWith(processorNum)) + { + string physicalIdString = cpuInfoLine.Replace(processorNum, ""); + int physicalIdNum = int.Parse(physicalIdString); + numberOfCores = physicalIdNum + 1; + } + + // Get the processor name + if (cpuInfoLine.StartsWith(armProcessorName)) + name = cpuInfoLine.Replace(armProcessorName, ""); + + // Get the processor vendor + if (cpuInfoLine.StartsWith(armVendorName)) + { + string armVendorId = cpuInfoLine.Replace(armVendorName, ""); + armVendorId = armVendorId[2..]; + int armVendorIdInt = int.Parse(armVendorId, NumberStyles.AllowHexSpecifier); + cpuidVendor = armVendorIdInt switch + { + 0x41 => "ARM", + _ => "", + }; + if (string.IsNullOrEmpty(name)) + name = "ARM Processor"; + } + } + else + { + // Get the processor physical ID index and parse it to the number of cores + if (cpuInfoLine.StartsWith(physicalId)) + { + string physicalIdString = cpuInfoLine.Replace(physicalId, ""); + int physicalIdNum = int.Parse(physicalIdString); + numberOfCores = physicalIdNum + 1; + } + + // Get the number of cores for each physical processor + if (cpuInfoLine.StartsWith(cpuCores)) + { + string coreNumString = cpuInfoLine.Replace(cpuCores, ""); + numberOfCoresForEachCore = int.Parse(coreNumString); + } + + // Get the clock speed + if (cpuInfoLine.StartsWith(cpuClockSpeed)) + { + string clockString = cpuInfoLine.Replace(cpuClockSpeed, ""); + clockSpeed = double.Parse(clockString); + } + + // Get the name and the vendor + if (cpuInfoLine.StartsWith(vendorId)) + { + Initializer.InitializeNative(); + cpuidVendor = Marshal.PtrToStringAnsi(ProcessorHelper.specprobe_get_vendor()); + if (string.IsNullOrEmpty(cpuidVendor)) + cpuidVendor = cpuInfoLine.Replace(vendorId, ""); + } + if (cpuInfoLine.StartsWith(modelId)) + { + Initializer.InitializeNative(); + name = Marshal.PtrToStringAnsi(ProcessorHelper.specprobe_get_cpu_name()); + if (string.IsNullOrEmpty(name)) + name = cpuInfoLine.Replace(modelId, ""); + } + } + } + + // Open the cache list to get cache sizes in kilobytes + if (!PlatformHelper.IsOnArmOrArm64()) + { + string cacheFolder = "/sys/devices/system/cpu/cpu0/cache"; + string cacheFolderL1 = $"{cacheFolder}/index1"; + string cacheFolderL2 = $"{cacheFolder}/index2"; + string cacheFolderL3 = $"{cacheFolder}/index3"; + if (Directory.Exists(cacheFolderL1)) + { + // Get the size in kilobytes + string fullPath = $"{cacheFolderL1}/size"; + string cacheKilobytes = File.ReadAllLines(fullPath)[0]; + cacheKilobytes = cacheKilobytes.Remove(cacheKilobytes.Length - 1); + + // Convert this size to bytes + cacheL1 = uint.Parse(cacheKilobytes) * 1024; + } + if (Directory.Exists(cacheFolderL2)) + { + // Get the size in kilobytes + string fullPath = $"{cacheFolderL2}/size"; + string cacheKilobytes = File.ReadAllLines(fullPath)[0]; + cacheKilobytes = cacheKilobytes.Remove(cacheKilobytes.Length - 1); + + // Convert this size to bytes + cacheL2 = uint.Parse(cacheKilobytes) * 1024; + } + if (Directory.Exists(cacheFolderL3)) + { + // Get the size in kilobytes + string fullPath = $"{cacheFolderL3}/size"; + string cacheKilobytes = File.ReadAllLines(fullPath)[0]; + cacheKilobytes = cacheKilobytes.Remove(cacheKilobytes.Length - 1); + + // Convert this size to bytes + cacheL3 = uint.Parse(cacheKilobytes) * 1024; + } + } + } + catch (Exception ex) + { + HardwareProber.errors.Add(ex); + } + + // Finally, return a single item array containing processor information + ProcessorPart processorPart = new() + { + ProcessorCores = numberOfCores, + CoresForEachCore = numberOfCoresForEachCore, + L1CacheSize = cacheL1, + L2CacheSize = cacheL2, + L3CacheSize = cacheL3, + Name = name, + CpuidVendor = cpuidVendor, + Speed = clockSpeed, + }; + return new[] { processorPart }; + } + + public BaseHardwarePartInfo[] GetBaseHardwarePartsWindows() + { + // Some variables to install. + int numberOfCores = 0; + int numberOfCoresForEachCore = 1; + uint cacheL1 = 0; + uint cacheL2 = 0; + uint cacheL3 = 0; + string name = ""; + string cpuidVendor = ""; + double clockSpeed = 0.0; + + try + { + // First, the logical processor information (cores and caches) + unsafe + { + // Invoke the GetLogicalProcessorInformation() function to get necessary information. See the below link: + // https://learn.microsoft.com/en-gb/windows/win32/api/sysinfoapi/nf-sysinfoapi-getlogicalprocessorinformation + // ...for more information. + PlatformWindowsInterop.GetLogicalProcessorInformation(null, out int bufferSize); + + // Get the number of entries and allocate info + int numEntries = bufferSize / sizeof(PlatformWindowsInterop.SYSTEM_LOGICAL_PROCESSOR_INFORMATION); + var coreInfo = new PlatformWindowsInterop.SYSTEM_LOGICAL_PROCESSOR_INFORMATION[numEntries]; + + // Iterate through every CPU info + fixed (PlatformWindowsInterop.SYSTEM_LOGICAL_PROCESSOR_INFORMATION* pCoreInfo = coreInfo) + { + // Try again... + PlatformWindowsInterop.GetLogicalProcessorInformation(pCoreInfo, out bufferSize); + + // Now, we get to the actual info piece. + for (int i = 0; i < numEntries; ++i) + { + // Get the actual info + ref PlatformWindowsInterop.SYSTEM_LOGICAL_PROCESSOR_INFORMATION info = ref pCoreInfo[i]; + + // Now, adjust the variables based on the relationship values. + switch (info.Relationship) + { + case PlatformWindowsInterop.LOGICAL_PROCESSOR_RELATIONSHIP.RelationProcessorCore: + // Processor cores + numberOfCores++; + break; + case PlatformWindowsInterop.LOGICAL_PROCESSOR_RELATIONSHIP.RelationProcessorPackage: + // Processor cores for each core + numberOfCoresForEachCore++; + break; + case PlatformWindowsInterop.LOGICAL_PROCESSOR_RELATIONSHIP.RelationCache: + // Processor L1, L2, and L3 cache + var cacheInfo = info.ProcessorInformation.Cache; + switch (cacheInfo.Level) + { + case 1: + // L1 cache + cacheL1 += cacheInfo.Size; + break; + case 2: + // L2 cache + cacheL2 += cacheInfo.Size; + break; + case 3: + // L3 cache + cacheL3 += cacheInfo.Size; + break; + } + break; + } + } + } + } + + // Then, the processor name, vendor, and speed + if (!PlatformHelper.IsOnArmOrArm64()) + { + Initializer.InitializeNative(); + cpuidVendor = Marshal.PtrToStringAnsi(ProcessorHelper.specprobe_get_vendor()); + name = Marshal.PtrToStringAnsi(ProcessorHelper.specprobe_get_cpu_name()); + PlatformWindowsInterop.PROCESSOR_POWER_INFORMATION[] procInfo = new PlatformWindowsInterop.PROCESSOR_POWER_INFORMATION[numberOfCores * numberOfCoresForEachCore]; + uint powerBufferSize = (uint)(procInfo.Length * Marshal.SizeOf(typeof(PlatformWindowsInterop.PROCESSOR_POWER_INFORMATION))); + uint status = PlatformWindowsInterop.CallNtPowerInformation(11, IntPtr.Zero, 0, procInfo, powerBufferSize); + if (status == 0) + clockSpeed = procInfo[0].MaxMhz; + } + } + catch (Exception ex) + { + HardwareProber.errors.Add(ex); + } + + // Finally, return a single item array containing processor information + ProcessorPart processorPart = new() + { + ProcessorCores = numberOfCores, + CoresForEachCore = numberOfCoresForEachCore, + L1CacheSize = cacheL1, + L2CacheSize = cacheL2, + L3CacheSize = cacheL3, + Name = name, + CpuidVendor = cpuidVendor, + Speed = clockSpeed, + }; + return new[] { processorPart }; + } + } +} diff --git a/SpecProbe/Hardware/Probers/VideoProber.cs b/SpecProbe/Hardware/Probers/VideoProber.cs new file mode 100644 index 0000000..f66c2f3 --- /dev/null +++ b/SpecProbe/Hardware/Probers/VideoProber.cs @@ -0,0 +1,136 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Hardware.Parts; +using SpecProbe.Hardware.Parts.Types; +using SpecProbe.Platform; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices; + +namespace SpecProbe.Hardware.Probers +{ + internal class VideoProber : IHardwareProber + { + public BaseHardwarePartInfo[] GetBaseHardwareParts() + { + if (PlatformHelper.IsOnWindows()) + return GetBaseHardwarePartsWindows(); + else + return GetBaseHardwarePartsLinux(); + } + + public BaseHardwarePartInfo[] GetBaseHardwarePartsLinux() + { + // Some variables to install. + string videoCardName = ""; + + try + { + // Check to see if we have a /proc/driver/nvidia folder for systems running NVIDIA graphics + string nvidiaGpuListDirectory = $"/proc/driver/nvidia/gpus"; + if (Directory.Exists(nvidiaGpuListDirectory)) + { + // The system is running proprietary NVIDIA drivers. Use the interface for performance + string[] nvidiaGpuFolders = Directory.GetDirectories(nvidiaGpuListDirectory).Where((dir) => !dir.EndsWith("power")).ToArray(); + List videos = new(); + foreach (string nvidiaGpuFolder in nvidiaGpuFolders) + { + // Get information + string nvidiaGpuStateFile = $"{nvidiaGpuFolder}/information"; + string[] nvidiaGpuStateStrs = File.ReadAllLines(nvidiaGpuStateFile); + foreach (string gpuStateStr in nvidiaGpuStateStrs) + { + string modelTag = "Model: "; + if (gpuStateStr.StartsWith(modelTag)) + { + // Trim the tag to get the GPU name, such as "GeForce GTX 680", "Tesla P100-PCIE-12GB", or "GeForce RTX 4090" + videoCardName = gpuStateStr[modelTag.Length..]; + } + } + + // Add a GPU + videos.Add(new VideoPart() + { + VideoCardName = videoCardName, + }); + } + return videos.ToArray(); + } + else + { + // Either the system is not running NVIDIA graphics card, or the system is not using proprietary NVIDIA driver. + // Roll back to glxinfo -B + string glxinfoOutput = PlatformHelper.ExecuteProcessToString("/usr/bin/glxinfo", "-B"); + string[] glxinfoOutputLines = glxinfoOutput.Replace("\r", "").Split('\n'); + foreach (string glxinfoOutputLine in glxinfoOutputLines) + { + string rendererTag = "OpenGL renderer string: "; + if (glxinfoOutputLine.StartsWith(rendererTag)) + { + // Trim the tag to get the GPU name. + videoCardName = glxinfoOutputLine[rendererTag.Length..]; + } + } + } + } + catch (Exception ex) + { + HardwareProber.errors.Add(ex); + } + + // Finally, return a single item array containing information + VideoPart part = new() + { + VideoCardName = videoCardName, + }; + return new[] { part }; + } + + public BaseHardwarePartInfo[] GetBaseHardwarePartsWindows() + { + List parts = new(); + + try + { + // Employ EnumDisplayDevices() and keep enumerating until we find the last device + var devInfo = new PlatformWindowsInterop.DISPLAY_DEVICE(); + devInfo.cb = Marshal.SizeOf(devInfo); + uint devNum = 0; + while (PlatformWindowsInterop.EnumDisplayDevices(null, devNum, ref devInfo, 1)) + { + parts.Add(new VideoPart() + { + VideoCardName = devInfo.DeviceString + }); + devNum++; + devInfo.cb = Marshal.SizeOf(devInfo); + } + } + catch (Exception ex) + { + HardwareProber.errors.Add(ex); + } + + // Finally, return an array containing information + return parts.ToArray(); + } + } +} diff --git a/SpecProbe/Kernel/UnameEnumerations.cs b/SpecProbe/Kernel/UnameEnumerations.cs new file mode 100644 index 0000000..7af8845 --- /dev/null +++ b/SpecProbe/Kernel/UnameEnumerations.cs @@ -0,0 +1,54 @@ +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +namespace SpecProbe.Kernel +{ + /// + /// The uname types + /// + public enum UnameTypes + { + /// + /// The kernel name + /// + KernelName = 1, + /// + /// The network node host name (usually a hostname) + /// + NetworkNode = 2, + /// + /// Kernel release version + /// + KernelRelease = 4, + /// + /// Kernel release extended version + /// + KernelVersion = 8, + /// + /// Machine type + /// + Machine = 16, + /// + /// Operating system type + /// + OperatingSystem = 32, + /// + /// All! same as "uname -a" + /// + All = KernelName | NetworkNode | KernelRelease | KernelVersion | Machine | OperatingSystem + } +} diff --git a/SpecProbe/Kernel/UnameManager.cs b/SpecProbe/Kernel/UnameManager.cs new file mode 100644 index 0000000..847dfe6 --- /dev/null +++ b/SpecProbe/Kernel/UnameManager.cs @@ -0,0 +1,84 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Platform; +using System; +using System.Diagnostics; +using System.IO; +using System.Text; + +namespace SpecProbe.Kernel +{ + /// + /// Kernel information probing manager + /// + public static class UnameManager + { + /// + /// Gets details from the uname process + /// + /// All the uname types the high-level APIs passed + /// Uname string output + public static string GetUname(UnameTypes unameTypes) + { + // Check the platform + if (!PlatformHelper.IsOnUnix()) + throw new PlatformNotSupportedException("This function is only supported on Unix."); + + // Check the uname executable paths + string UnameExecutable = File.Exists("/usr/bin/uname") ? "/usr/bin/uname" : "/bin/uname"; + UnameExecutable = File.Exists("/system/xbin/uname") ? "/system/xbin/uname" : UnameExecutable; + + // Select arguments according to the types + StringBuilder argsBuilder = new(); + if (unameTypes.HasFlag(UnameTypes.KernelName)) + argsBuilder.Append("-s "); + if (unameTypes.HasFlag(UnameTypes.KernelRelease)) + argsBuilder.Append("-r "); + if (unameTypes.HasFlag(UnameTypes.KernelVersion)) + argsBuilder.Append("-v "); + if (unameTypes.HasFlag(UnameTypes.NetworkNode)) + argsBuilder.Append("-n "); + if (unameTypes.HasFlag(UnameTypes.Machine)) + argsBuilder.Append("-m "); + if (unameTypes.HasFlag(UnameTypes.OperatingSystem)) + argsBuilder.Append("-o "); + string Args = argsBuilder.ToString().Trim(); + + // Make a new instance of process + Process UnameS = new(); + ProcessStartInfo UnameSInfo = new() + { + FileName = UnameExecutable, + Arguments = Args, + CreateNoWindow = true, + UseShellExecute = false, + WindowStyle = ProcessWindowStyle.Hidden, + RedirectStandardOutput = true + }; + UnameS.StartInfo = UnameSInfo; + + // Start the process and wait for the output to flow + UnameS.Start(); + UnameS.WaitForExit(); + + // Return the output + return UnameS.StandardOutput.ReadToEnd().Trim(new char[] { '\n' }); + } + } +} diff --git a/SpecProbe/OfficialAppIcon-SpecProbe-512.png b/SpecProbe/OfficialAppIcon-SpecProbe-512.png new file mode 100644 index 0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Z;HQw3Xl!u{mxLvHpG1*5BQ;OcLG$!YLhp80}d2_n2 xyaKQZigthoZ1$;I`{B@2jf3yTr~?1Lij@t+8ABuP9I70EnzN$|wPe31=U-d1KuQ1r literal 0 HcmV?d00001 diff --git a/SpecProbe/Platform/PlatformHelper.cs b/SpecProbe/Platform/PlatformHelper.cs new file mode 100644 index 0000000..31b12dc --- /dev/null +++ b/SpecProbe/Platform/PlatformHelper.cs @@ -0,0 +1,107 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using SpecProbe.Kernel; +using System; +using System.Diagnostics; +using System.Runtime.InteropServices; + +namespace SpecProbe.Platform +{ + internal static class PlatformHelper + { + /// + /// Is this system a Windows system? + /// + /// True if running on Windows (Windows 10, Windows 11, etc.). Otherwise, false. + public static bool IsOnWindows() => + Environment.OSVersion.Platform == PlatformID.Win32NT; + + /// + /// Is this system a Unix system? True for macOS, too! + /// + /// True if running on Unix (Linux, *nix, etc.). Otherwise, false. + public static bool IsOnUnix() => + Environment.OSVersion.Platform == PlatformID.Unix; + + /// + /// Is this system a macOS system? + /// + /// True if running on macOS (MacBook, iMac, etc.). Otherwise, false. + public static bool IsOnMacOS() + { + if (IsOnUnix()) + { + string System = UnameManager.GetUname(UnameTypes.KernelName); + return System.Contains("Darwin"); + } + else + return false; + } + + /// + /// Is this system an ARM or ARM64 system? + /// + /// True if running on ARM or ARM64 systems. Otherwise, false. + public static bool IsOnArmOrArm64() => + IsOnArm() || + IsOnArm64(); + + /// + /// Is this system an ARM system? + /// + /// True if running on ARM systems. Otherwise, false. + public static bool IsOnArm() => + RuntimeInformation.OSArchitecture == Architecture.Arm; + + /// + /// Is this system an ARM64 system? + /// + /// True if running on ARM64 systems. Otherwise, false. + public static bool IsOnArm64() => + RuntimeInformation.OSArchitecture == Architecture.Arm64; + + /// + /// Executes a file with specified arguments and puts the output to the string + /// + /// Full path to file + /// Arguments, if any + /// Output of a command from stdout + public static string ExecuteProcessToString(string File, string Args) + { + var CommandProcess = new Process(); + var CommandProcessStart = new ProcessStartInfo() + { + RedirectStandardInput = false, + RedirectStandardOutput = true, + RedirectStandardError = true, + FileName = File, + Arguments = Args, + CreateNoWindow = true, + WindowStyle = ProcessWindowStyle.Hidden, + UseShellExecute = false, + }; + CommandProcess.StartInfo = CommandProcessStart; + + // Start the process + CommandProcess.Start(); + CommandProcess.WaitForExit(); + return CommandProcess.StandardOutput.ReadToEnd(); + } + } +} diff --git a/SpecProbe/Platform/PlatformWindowsInterop.cs b/SpecProbe/Platform/PlatformWindowsInterop.cs new file mode 100644 index 0000000..caec8fc --- /dev/null +++ b/SpecProbe/Platform/PlatformWindowsInterop.cs @@ -0,0 +1,493 @@ + +// SpecProbe Copyright (C) 2020-2021 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using System; +using System.IO; +using System.Runtime.InteropServices; + +namespace SpecProbe.Platform +{ + internal static unsafe class PlatformWindowsInterop + { + #region Processor information Win32 API pinvokes + [StructLayout(LayoutKind.Sequential)] + internal struct CACHE_DESCRIPTOR + { + public byte Level; + public byte Associativity; + public ushort LineSize; + public uint Size; + public uint Type; + } + + [StructLayout(LayoutKind.Explicit)] + internal struct SYSTEM_LOGICAL_PROCESSOR_INFORMATION_UNION + { + [FieldOffset(0)] public byte ProcessorCore; + [FieldOffset(0)] public uint NumaNode; + [FieldOffset(0)] public CACHE_DESCRIPTOR Cache; + [FieldOffset(0)] private ulong Reserved1; + [FieldOffset(8)] private ulong Reserved2; + } + + internal enum LOGICAL_PROCESSOR_RELATIONSHIP + { + RelationProcessorCore, + RelationNumaNode, + RelationCache, + RelationProcessorPackage, + RelationGroup, + RelationAll = 0xffff + } + + internal struct SYSTEM_LOGICAL_PROCESSOR_INFORMATION + { + public UIntPtr ProcessorMask; + public LOGICAL_PROCESSOR_RELATIONSHIP Relationship; + public SYSTEM_LOGICAL_PROCESSOR_INFORMATION_UNION ProcessorInformation; + } + + [StructLayout(LayoutKind.Sequential)] + internal struct PROCESSOR_POWER_INFORMATION + { + public uint Number; + public uint MaxMhz; + public uint CurrentMhz; + public uint MhzLimit; + public uint MaxIdleState; + public uint CurrentIdleState; + } + + [DllImport("kernel32.dll")] + internal static extern unsafe bool GetLogicalProcessorInformation(SYSTEM_LOGICAL_PROCESSOR_INFORMATION* buffer, out int bufferSize); + + [DllImport("powrprof.dll", SetLastError = true)] + internal static extern uint CallNtPowerInformation(int informationLevel, IntPtr lpInputBuffer, uint nInputBufferSize, [Out] PROCESSOR_POWER_INFORMATION[] lpOutputBuffer, uint nOutputBufferSize); + #endregion + + #region Memory information Win32 API pinvokes + [StructLayout(LayoutKind.Sequential)] + internal struct MEMORYSTATUSEX + { + public uint dwLength; + public uint dwMemoryLoad; + public ulong ullTotalPhys; + public ulong ullAvailPhys; + public ulong ullTotalPageFile; + public ulong ullAvailPageFile; + public ulong ullTotalVirtual; + public ulong ullAvailVirtual; + public ulong ullAvailExtendedVirtual; + } + + [DllImport("kernel32.dll", EntryPoint = "GlobalMemoryStatusEx")] + [return: MarshalAs(UnmanagedType.Bool)] + internal static extern bool GlobalMemoryStatusEx(ref MEMORYSTATUSEX lpBuffer); + + [DllImport("kernel32.dll", EntryPoint = "GetPhysicallyInstalledSystemMemory")] + [return: MarshalAs(UnmanagedType.Bool)] + internal static extern bool GetPhysicallyInstalledSystemMemory(ref long TotalMemoryInKilobytes); + #endregion + + #region Video adapter Win32 API pinvokes + [Flags] + internal enum DisplayDeviceStateFlags : int + { + AttachedToDesktop = 0x1, + MultiDriver = 0x2, + PrimaryDevice = 0x4, + MirroringDriver = 0x8, + VGACompatible = 0x10, + Removable = 0x20, + ModesPruned = 0x8000000, + Remote = 0x4000000, + Disconnect = 0x2000000 + } + + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] + internal struct DISPLAY_DEVICE + { + [MarshalAs(UnmanagedType.U4)] + public int cb; + [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] + public string DeviceName; + [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] + public string DeviceString; + [MarshalAs(UnmanagedType.U4)] + public DisplayDeviceStateFlags StateFlags; + [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] + public string DeviceID; + [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] + public string DeviceKey; + } + + [DllImport("user32.dll", CharSet = CharSet.Auto)] + internal static extern bool EnumDisplayDevices(string lpDevice, uint iDevNum, ref DISPLAY_DEVICE lpDisplayDevice, uint dwFlags); + #endregion + + #region Disk Win32 API pinvokes + internal enum DriveType : uint + { + Unknown = 0, + Error = 1, + Removable = 2, + Fixed = 3, + Remote = 4, + CdRom = 5, + RamDisk = 6 + } + + internal enum MEDIA_TYPE : uint + { + Unknown, + F5_1Pt2_512, + F3_1Pt44_512, + F3_2Pt88_512, + F3_20Pt8_512, + F3_720_512, + F5_360_512, + F5_320_512, + F5_320_1024, + F5_180_512, + F5_160_512, + RemovableMedia, + FixedMedia, + F3_120M_512, + F3_640_512, + F5_640_512, + F5_720_512, + F3_1Pt2_512, + F3_1Pt23_1024, + F5_1Pt23_1024, + F3_128Mb_512, + F3_230Mb_512, + F8_256_128, + F3_200Mb_512, + F3_240M_512, + F3_32M_512 + } + + [Flags] + public enum EMethod : uint + { + Buffered = 0, + InDirect = 1, + OutDirect = 2, + Neither = 3 + } + + [Flags] + public enum EFileDevice : uint + { + Beep = 0x00000001, + CDRom = 0x00000002, + CDRomFileSytem = 0x00000003, + Controller = 0x00000004, + Datalink = 0x00000005, + Dfs = 0x00000006, + Disk = 0x00000007, + DiskFileSystem = 0x00000008, + FileSystem = 0x00000009, + InPortPort = 0x0000000a, + Keyboard = 0x0000000b, + Mailslot = 0x0000000c, + MidiIn = 0x0000000d, + MidiOut = 0x0000000e, + Mouse = 0x0000000f, + MultiUncProvider = 0x00000010, + NamedPipe = 0x00000011, + Network = 0x00000012, + NetworkBrowser = 0x00000013, + NetworkFileSystem = 0x00000014, + Null = 0x00000015, + ParallelPort = 0x00000016, + PhysicalNetcard = 0x00000017, + Printer = 0x00000018, + Scanner = 0x00000019, + SerialMousePort = 0x0000001a, + SerialPort = 0x0000001b, + Screen = 0x0000001c, + Sound = 0x0000001d, + Streams = 0x0000001e, + Tape = 0x0000001f, + TapeFileSystem = 0x00000020, + Transport = 0x00000021, + Unknown = 0x00000022, + Video = 0x00000023, + VirtualDisk = 0x00000024, + WaveIn = 0x00000025, + WaveOut = 0x00000026, + Port8042 = 0x00000027, + NetworkRedirector = 0x00000028, + Battery = 0x00000029, + BusExtender = 0x0000002a, + Modem = 0x0000002b, + Vdm = 0x0000002c, + MassStorage = 0x0000002d, + Smb = 0x0000002e, + Ks = 0x0000002f, + Changer = 0x00000030, + Smartcard = 0x00000031, + Acpi = 0x00000032, + Dvd = 0x00000033, + FullscreenVideo = 0x00000034, + DfsFileSystem = 0x00000035, + DfsVolume = 0x00000036, + Serenum = 0x00000037, + Termsrv = 0x00000038, + Ksec = 0x00000039, + Fips = 0x0000003A, + Infiniband = 0x0000003B, + Vmbus = 0x0000003E, + CryptProvider = 0x0000003F, + Wpd = 0x00000040, + Bluetooth = 0x00000041, + MtComposite = 0x00000042, + MtTransport = 0x00000043, + Biometric = 0x00000044, + Pmi = 0x00000045 + } + + [Flags] + public enum EIOControlCode : uint + { + // Mass Storage + StorageCheckVerify = (EFileDevice.MassStorage << 16) | (0x0200 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + StorageCheckVerify2 = (EFileDevice.MassStorage << 16) | (0x0200 << 2) | EMethod.Buffered | (0 << 14), // FileAccess.Any + StorageMediaRemoval = (EFileDevice.MassStorage << 16) | (0x0201 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + StorageEjectMedia = (EFileDevice.MassStorage << 16) | (0x0202 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + StorageLoadMedia = (EFileDevice.MassStorage << 16) | (0x0203 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + StorageLoadMedia2 = (EFileDevice.MassStorage << 16) | (0x0203 << 2) | EMethod.Buffered | (0 << 14), + StorageReserve = (EFileDevice.MassStorage << 16) | (0x0204 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + StorageRelease = (EFileDevice.MassStorage << 16) | (0x0205 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + StorageFindNewDevices = (EFileDevice.MassStorage << 16) | (0x0206 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + StorageEjectionControl = (EFileDevice.MassStorage << 16) | (0x0250 << 2) | EMethod.Buffered | (0 << 14), + StorageMcnControl = (EFileDevice.MassStorage << 16) | (0x0251 << 2) | EMethod.Buffered | (0 << 14), + StorageGetMediaTypes = (EFileDevice.MassStorage << 16) | (0x0300 << 2) | EMethod.Buffered | (0 << 14), + StorageGetMediaTypesEx = (EFileDevice.MassStorage << 16) | (0x0301 << 2) | EMethod.Buffered | (0 << 14), + StorageResetBus = (EFileDevice.MassStorage << 16) | (0x0400 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + StorageResetDevice = (EFileDevice.MassStorage << 16) | (0x0401 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + StorageGetDeviceNumber = (EFileDevice.MassStorage << 16) | (0x0420 << 2) | EMethod.Buffered | (0 << 14), + StoragePredictFailure = (EFileDevice.MassStorage << 16) | (0x0440 << 2) | EMethod.Buffered | (0 << 14), + StorageObsoleteResetBus = (EFileDevice.MassStorage << 16) | (0x0400 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + StorageObsoleteResetDevice = (EFileDevice.MassStorage << 16) | (0x0401 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + StorageQueryProperty = (EFileDevice.MassStorage << 16) | (0x0500 << 2) | EMethod.Buffered | (0 << 14), + + // Disk + DiskGetDriveGeometry = (EFileDevice.Disk << 16) | (0x0000 << 2) | EMethod.Buffered | (0 << 14), + DiskGetDriveGeometryEx = (EFileDevice.Disk << 16) | (0x0028 << 2) | EMethod.Buffered | (0 << 14), + DiskGetPartitionInfo = (EFileDevice.Disk << 16) | (0x0001 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskGetPartitionInfoEx = (EFileDevice.Disk << 16) | (0x0012 << 2) | EMethod.Buffered | (0 << 14), + DiskSetPartitionInfo = (EFileDevice.Disk << 16) | (0x0002 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskGetDriveLayout = (EFileDevice.Disk << 16) | (0x0003 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskSetDriveLayout = (EFileDevice.Disk << 16) | (0x0004 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskVerify = (EFileDevice.Disk << 16) | (0x0005 << 2) | EMethod.Buffered | (0 << 14), + DiskFormatTracks = (EFileDevice.Disk << 16) | (0x0006 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskReassignBlocks = (EFileDevice.Disk << 16) | (0x0007 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskPerformance = (EFileDevice.Disk << 16) | (0x0008 << 2) | EMethod.Buffered | (0 << 14), + DiskIsWritable = (EFileDevice.Disk << 16) | (0x0009 << 2) | EMethod.Buffered | (0 << 14), + DiskLogging = (EFileDevice.Disk << 16) | (0x000a << 2) | EMethod.Buffered | (0 << 14), + DiskFormatTracksEx = (EFileDevice.Disk << 16) | (0x000b << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskHistogramStructure = (EFileDevice.Disk << 16) | (0x000c << 2) | EMethod.Buffered | (0 << 14), + DiskHistogramData = (EFileDevice.Disk << 16) | (0x000d << 2) | EMethod.Buffered | (0 << 14), + DiskHistogramReset = (EFileDevice.Disk << 16) | (0x000e << 2) | EMethod.Buffered | (0 << 14), + DiskRequestStructure = (EFileDevice.Disk << 16) | (0x000f << 2) | EMethod.Buffered | (0 << 14), + DiskRequestData = (EFileDevice.Disk << 16) | (0x0010 << 2) | EMethod.Buffered | (0 << 14), + DiskControllerNumber = (EFileDevice.Disk << 16) | (0x0011 << 2) | EMethod.Buffered | (0 << 14), + DiskSmartGetVersion = (EFileDevice.Disk << 16) | (0x0020 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskSmartSendDriveCommand = (EFileDevice.Disk << 16) | (0x0021 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskSmartRcvDriveData = (EFileDevice.Disk << 16) | (0x0022 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskUpdateDriveSize = (EFileDevice.Disk << 16) | (0x0032 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskGrowPartition = (EFileDevice.Disk << 16) | (0x0034 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskGetCacheInformation = (EFileDevice.Disk << 16) | (0x0035 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskSetCacheInformation = (EFileDevice.Disk << 16) | (0x0036 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskDeleteDriveLayout = (EFileDevice.Disk << 16) | (0x0040 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskFormatDrive = (EFileDevice.Disk << 16) | (0x00f3 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskSenseDevice = (EFileDevice.Disk << 16) | (0x00f8 << 2) | EMethod.Buffered | (0 << 14), + DiskCheckVerify = (EFileDevice.Disk << 16) | (0x0200 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskMediaRemoval = (EFileDevice.Disk << 16) | (0x0201 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskEjectMedia = (EFileDevice.Disk << 16) | (0x0202 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskLoadMedia = (EFileDevice.Disk << 16) | (0x0203 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskReserve = (EFileDevice.Disk << 16) | (0x0204 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskRelease = (EFileDevice.Disk << 16) | (0x0205 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskFindNewDevices = (EFileDevice.Disk << 16) | (0x0206 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + DiskGetMediaTypes = (EFileDevice.Disk << 16) | (0x0300 << 2) | EMethod.Buffered | (0 << 14), + DiskSetPartitionInfoEx = (EFileDevice.Disk << 16) | (0x0013 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskGetDriveLayoutEx = (EFileDevice.Disk << 16) | (0x0014 << 2) | EMethod.Buffered | (0 << 14), + DiskSetDriveLayoutEx = (EFileDevice.Disk << 16) | (0x0015 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskCreateDisk = (EFileDevice.Disk << 16) | (0x0016 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + DiskGetLengthInfo = (EFileDevice.Disk << 16) | (0x0017 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + + // Changer + ChangerGetParameters = (EFileDevice.Changer << 16) | (0x0000 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + ChangerGetStatus = (EFileDevice.Changer << 16) | (0x0001 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + ChangerGetProductData = (EFileDevice.Changer << 16) | (0x0002 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + ChangerSetAccess = (EFileDevice.Changer << 16) | (0x0004 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + ChangerGetElementStatus = (EFileDevice.Changer << 16) | (0x0005 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + ChangerInitializeElementStatus = (EFileDevice.Changer << 16) | (0x0006 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + ChangerSetPosition = (EFileDevice.Changer << 16) | (0x0007 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + ChangerExchangeMedium = (EFileDevice.Changer << 16) | (0x0008 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + ChangerMoveMedium = (EFileDevice.Changer << 16) | (0x0009 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + ChangerReinitializeTarget = (EFileDevice.Changer << 16) | (0x000A << 2) | EMethod.Buffered | (FileAccess.Read << 14), + ChangerQueryVolumeTags = (EFileDevice.Changer << 16) | (0x000B << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + + // Filesystem + FsctlRequestOplockLevel1 = (EFileDevice.FileSystem << 16) | (0 << 2) | EMethod.Buffered | (0 << 14), + FsctlRequestOplockLevel2 = (EFileDevice.FileSystem << 16) | (1 << 2) | EMethod.Buffered | (0 << 14), + FsctlRequestBatchOplock = (EFileDevice.FileSystem << 16) | (2 << 2) | EMethod.Buffered | (0 << 14), + FsctlOplockBreakAcknowledge = (EFileDevice.FileSystem << 16) | (3 << 2) | EMethod.Buffered | (0 << 14), + FsctlOpBatchAckClosePending = (EFileDevice.FileSystem << 16) | (4 << 2) | EMethod.Buffered | (0 << 14), + FsctlOplockBreakNotify = (EFileDevice.FileSystem << 16) | (5 << 2) | EMethod.Buffered | (0 << 14), + FsctlLockVolume = (EFileDevice.FileSystem << 16) | (6 << 2) | EMethod.Buffered | (0 << 14), + FsctlUnlockVolume = (EFileDevice.FileSystem << 16) | (7 << 2) | EMethod.Buffered | (0 << 14), + FsctlDismountVolume = (EFileDevice.FileSystem << 16) | (8 << 2) | EMethod.Buffered | (0 << 14), + FsctlIsVolumeMounted = (EFileDevice.FileSystem << 16) | (10 << 2) | EMethod.Buffered | (0 << 14), + FsctlIsPathnameValid = (EFileDevice.FileSystem << 16) | (11 << 2) | EMethod.Buffered | (0 << 14), + FsctlMarkVolumeDirty = (EFileDevice.FileSystem << 16) | (12 << 2) | EMethod.Buffered | (0 << 14), + FsctlQueryRetrievalPointers = (EFileDevice.FileSystem << 16) | (14 << 2) | EMethod.Neither | (0 << 14), + FsctlGetCompression = (EFileDevice.FileSystem << 16) | (15 << 2) | EMethod.Buffered | (0 << 14), + FsctlSetCompression = (EFileDevice.FileSystem << 16) | (16 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + FsctlMarkAsSystemHive = (EFileDevice.FileSystem << 16) | (19 << 2) | EMethod.Neither | (0 << 14), + FsctlOplockBreakAckNo2 = (EFileDevice.FileSystem << 16) | (20 << 2) | EMethod.Buffered | (0 << 14), + FsctlInvalidateVolumes = (EFileDevice.FileSystem << 16) | (21 << 2) | EMethod.Buffered | (0 << 14), + FsctlQueryFatBpb = (EFileDevice.FileSystem << 16) | (22 << 2) | EMethod.Buffered | (0 << 14), + FsctlRequestFilterOplock = (EFileDevice.FileSystem << 16) | (23 << 2) | EMethod.Buffered | (0 << 14), + FsctlFileSystemGetStatistics = (EFileDevice.FileSystem << 16) | (24 << 2) | EMethod.Buffered | (0 << 14), + FsctlGetNtfsVolumeData = (EFileDevice.FileSystem << 16) | (25 << 2) | EMethod.Buffered | (0 << 14), + FsctlGetNtfsFileRecord = (EFileDevice.FileSystem << 16) | (26 << 2) | EMethod.Buffered | (0 << 14), + FsctlGetVolumeBitmap = (EFileDevice.FileSystem << 16) | (27 << 2) | EMethod.Neither | (0 << 14), + FsctlGetRetrievalPointers = (EFileDevice.FileSystem << 16) | (28 << 2) | EMethod.Neither | (0 << 14), + FsctlMoveFile = (EFileDevice.FileSystem << 16) | (29 << 2) | EMethod.Buffered | (0 << 14), + FsctlIsVolumeDirty = (EFileDevice.FileSystem << 16) | (30 << 2) | EMethod.Buffered | (0 << 14), + FsctlGetHfsInformation = (EFileDevice.FileSystem << 16) | (31 << 2) | EMethod.Buffered | (0 << 14), + FsctlAllowExtendedDasdIo = (EFileDevice.FileSystem << 16) | (32 << 2) | EMethod.Neither | (0 << 14), + FsctlReadPropertyData = (EFileDevice.FileSystem << 16) | (33 << 2) | EMethod.Neither | (0 << 14), + FsctlWritePropertyData = (EFileDevice.FileSystem << 16) | (34 << 2) | EMethod.Neither | (0 << 14), + FsctlFindFilesBySid = (EFileDevice.FileSystem << 16) | (35 << 2) | EMethod.Neither | (0 << 14), + FsctlDumpPropertyData = (EFileDevice.FileSystem << 16) | (37 << 2) | EMethod.Neither | (0 << 14), + FsctlSetObjectId = (EFileDevice.FileSystem << 16) | (38 << 2) | EMethod.Buffered | (0 << 14), + FsctlGetObjectId = (EFileDevice.FileSystem << 16) | (39 << 2) | EMethod.Buffered | (0 << 14), + FsctlDeleteObjectId = (EFileDevice.FileSystem << 16) | (40 << 2) | EMethod.Buffered | (0 << 14), + FsctlSetReparsePoint = (EFileDevice.FileSystem << 16) | (41 << 2) | EMethod.Buffered | (0 << 14), + FsctlGetReparsePoint = (EFileDevice.FileSystem << 16) | (42 << 2) | EMethod.Buffered | (0 << 14), + FsctlDeleteReparsePoint = (EFileDevice.FileSystem << 16) | (43 << 2) | EMethod.Buffered | (0 << 14), + FsctlEnumUsnData = (EFileDevice.FileSystem << 16) | (44 << 2) | EMethod.Neither | (0 << 14), + FsctlSecurityIdCheck = (EFileDevice.FileSystem << 16) | (45 << 2) | EMethod.Neither | (FileAccess.Read << 14), + FsctlReadUsnJournal = (EFileDevice.FileSystem << 16) | (46 << 2) | EMethod.Neither | (0 << 14), + FsctlSetObjectIdExtended = (EFileDevice.FileSystem << 16) | (47 << 2) | EMethod.Buffered | (0 << 14), + FsctlCreateOrGetObjectId = (EFileDevice.FileSystem << 16) | (48 << 2) | EMethod.Buffered | (0 << 14), + FsctlSetSparse = (EFileDevice.FileSystem << 16) | (49 << 2) | EMethod.Buffered | (0 << 14), + FsctlSetZeroData = (EFileDevice.FileSystem << 16) | (50 << 2) | EMethod.Buffered | (FileAccess.Write << 14), + FsctlQueryAllocatedRanges = (EFileDevice.FileSystem << 16) | (51 << 2) | EMethod.Neither | (FileAccess.Read << 14), + FsctlEnableUpgrade = (EFileDevice.FileSystem << 16) | (52 << 2) | EMethod.Buffered | (FileAccess.Write << 14), + FsctlSetEncryption = (EFileDevice.FileSystem << 16) | (53 << 2) | EMethod.Neither | (0 << 14), + FsctlEncryptionFsctlIo = (EFileDevice.FileSystem << 16) | (54 << 2) | EMethod.Neither | (0 << 14), + FsctlWriteRawEncrypted = (EFileDevice.FileSystem << 16) | (55 << 2) | EMethod.Neither | (0 << 14), + FsctlReadRawEncrypted = (EFileDevice.FileSystem << 16) | (56 << 2) | EMethod.Neither | (0 << 14), + FsctlCreateUsnJournal = (EFileDevice.FileSystem << 16) | (57 << 2) | EMethod.Neither | (0 << 14), + FsctlReadFileUsnData = (EFileDevice.FileSystem << 16) | (58 << 2) | EMethod.Neither | (0 << 14), + FsctlWriteUsnCloseRecord = (EFileDevice.FileSystem << 16) | (59 << 2) | EMethod.Neither | (0 << 14), + FsctlExtendVolume = (EFileDevice.FileSystem << 16) | (60 << 2) | EMethod.Buffered | (0 << 14), + FsctlQueryUsnJournal = (EFileDevice.FileSystem << 16) | (61 << 2) | EMethod.Buffered | (0 << 14), + FsctlDeleteUsnJournal = (EFileDevice.FileSystem << 16) | (62 << 2) | EMethod.Buffered | (0 << 14), + FsctlMarkHandle = (EFileDevice.FileSystem << 16) | (63 << 2) | EMethod.Buffered | (0 << 14), + FsctlSisCopyFile = (EFileDevice.FileSystem << 16) | (64 << 2) | EMethod.Buffered | (0 << 14), + FsctlSisLinkFiles = (EFileDevice.FileSystem << 16) | (65 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + FsctlHsmMsg = (EFileDevice.FileSystem << 16) | (66 << 2) | EMethod.Buffered | (FileAccess.ReadWrite << 14), + FsctlNssControl = (EFileDevice.FileSystem << 16) | (67 << 2) | EMethod.Buffered | (FileAccess.Write << 14), + FsctlHsmData = (EFileDevice.FileSystem << 16) | (68 << 2) | EMethod.Neither | (FileAccess.ReadWrite << 14), + FsctlRecallFile = (EFileDevice.FileSystem << 16) | (69 << 2) | EMethod.Neither | (0 << 14), + FsctlNssRcontrol = (EFileDevice.FileSystem << 16) | (70 << 2) | EMethod.Buffered | (FileAccess.Read << 14), + + // Video + VideoQuerySupportedBrightness = (EFileDevice.Video << 16) | (0x0125 << 2) | EMethod.Buffered | (0 << 14), + VideoQueryDisplayBrightness = (EFileDevice.Video << 16) | (0x0126 << 2) | EMethod.Buffered | (0 << 14), + VideoSetDisplayBrightness = (EFileDevice.Video << 16) | (0x0127 << 2) | EMethod.Buffered | (0 << 14) + } + + [StructLayout(LayoutKind.Sequential)] + internal struct DISK_GEOMETRY + { + public long Cylinders; + public MEDIA_TYPE MediaType; + public int TracksPerCylinder; + public int SectorsPerTrack; + public int BytesPerSector; + } + + [StructLayout(LayoutKind.Sequential)] + public struct STORAGE_DEVICE_NUMBER + { + public int DeviceType; + public int DeviceNumber; + public int PartitionNumber; + } + + + [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] + internal static extern IntPtr CreateFile( + [MarshalAs(UnmanagedType.LPTStr)] string filename, + [MarshalAs(UnmanagedType.U4)] FileAccess access, + [MarshalAs(UnmanagedType.U4)] FileShare share, + IntPtr securityAttributes, + [MarshalAs(UnmanagedType.U4)] FileMode creationDisposition, + [MarshalAs(UnmanagedType.U4)] FileAttributes flagsAndAttributes, + IntPtr templateFile + ); + + [DllImport("Kernel32.dll", SetLastError = true)] + public static extern bool DeviceIoControl( + IntPtr hDevice, + uint IoControlCode, + byte[] InBuffer, + int nInBufferSize, + byte[] OutBuffer, + int nOutBufferSize, + out int pBytesReturned, + IntPtr Overlapped + ); + + [DllImport("Kernel32.dll", SetLastError = true)] + public static extern bool DeviceIoControl( + IntPtr hDevice, + EIOControlCode IoControlCode, + byte[] InBuffer, + int nInBufferSize, + out DISK_GEOMETRY OutBuffer, + int nOutBufferSize, + out int pBytesReturned, + IntPtr Overlapped + ); + + [DllImport("Kernel32.dll", SetLastError = true)] + public static extern bool DeviceIoControl( + IntPtr hDevice, + EIOControlCode IoControlCode, + byte[] InBuffer, + int nInBufferSize, + out STORAGE_DEVICE_NUMBER OutBuffer, + int nOutBufferSize, + out int pBytesReturned, + IntPtr Overlapped + ); + + [DllImport("kernel32.dll")] + internal static extern DriveType GetDriveType([MarshalAs(UnmanagedType.LPStr)] string lpRootPathName); + #endregion + } +} diff --git a/SpecProbe/SpecProbe.csproj b/SpecProbe/SpecProbe.csproj new file mode 100644 index 0000000..72d57ec --- /dev/null +++ b/SpecProbe/SpecProbe.csproj @@ -0,0 +1,45 @@ + + + + net6.0 + true + True + ../SpecProbe.Bin + true + True + 1.0.0 + Aptivi + SpecProbe is the reboot of the Linux and Windows hardware information frontend. + Copyright © 2023 Aptivi + GPL-3.0-or-later + https://github.com/Aptivi/SpecProbe + README.md + git://github.com/Aptivi/SpecProbe.git + OfficialAppIcon-SpecProbe-512.png + git + hardware, information + true + false + latest + ../SpecProbe.Bin/ + true + True + ..\aptivi_snk.snk + + + + + True + \ + + + + + + + + + + + + diff --git a/aptivi_snk.snk b/aptivi_snk.snk new file mode 100644 index 0000000000000000000000000000000000000000..b87cfc8a3f16dc777a1cbaa07985ddf900ab1052 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50097jE>bZVZKg#8r9;&)ZK71^1|TQ>uHg?> zos;ar-n@}_4H^e~b}H&T?N`8^p94Rck(LB0m&)e{#nixp1YpV2;ym_mJOJKa4HZx9YKgOF z32Rb%f_F}h!=sp6fQiY$csXSPCqwV0Jg;Uf=t-Y_iF(yW%s^9Py}(;9o6$S&7?TX( zKNqTap0ZvAIuGO5&$Xd9jNb31;3IJal@b-psFlEhV-OLI#ZBYE$`c_n(OX&8Ci*NC zK95o8-Save{xn?Gt^Soy9w@PcM!*qD6O9OHdy<^vGQ~%V!kCx|8yE66D9cfG z3rBXM1STrlZ`s3RHHOaUDLF$xr_rtM-$yfg_v?D()>aPiwIx;7Az`Y6{c%8>BaC3Z3Xhz5q8L7|x2Brmt6@0bv8#q80VX%d&`WOBH literal 0 HcmV?d00001 diff --git a/interop/CMakeLists.txt b/interop/CMakeLists.txt new file mode 100644 index 0000000..78bcb64 --- /dev/null +++ b/interop/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.25) +project(specprober + VERSION 0.1.0 + DESCRIPTION "Native helper library for SpecProbe's managed world hardware parsing" + LANGUAGES C +) + +add_library(specprober SHARED + src/specprober.c +) +target_compile_features(specprober PUBLIC c_std_99) +target_include_directories(specprober PUBLIC include) diff --git a/interop/include/specprober.h b/interop/include/specprober.h new file mode 100644 index 0000000..a627f9d --- /dev/null +++ b/interop/include/specprober.h @@ -0,0 +1,32 @@ + +// SpecProbe Copyright (C) 2023 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +/* -------------------------------------------------------------------- */ + +char* + specprobe_get_vendor + ( + ); + +char* +specprobe_get_cpu_name + ( + ); + +/* -------------------------------------------------------------------- */ + diff --git a/interop/src/specprober.c b/interop/src/specprober.c new file mode 100644 index 0000000..e332663 --- /dev/null +++ b/interop/src/specprober.c @@ -0,0 +1,149 @@ + +// SpecProbe Copyright (C) 2023 Aptivi +// +// This file is part of SpecProbe +// +// SpecProbe is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// SpecProbe is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +/* -------------------------------------------------------------------- */ + +#include +#include +#include + +/* -------------------------------------------------------------------- */ + +#define EAX_VENDOR 0x80000000 ; +#define EAX_NAME_PART1 0x80000002 ; +#define EAX_NAME_PART2 0x80000003 ; +#define EAX_NAME_PART3 0x80000004 ; + +/* -------------------------------------------------------------------- */ + +static inline +void + native_cpuid + ( + unsigned int *eax, + unsigned int *ebx, + unsigned int *ecx, + unsigned int *edx + ) +/* + * ----------------------------------------------------------------------- + * Name : native_cpuid + * Description : Assembly code to get CPUID information + * ----------------------------------------------------------------------- + * Arguments : + * - [OUT] eax: EAX address containing the first part of the result + * - [OUT] ebx: EBX address containing the second part of the result + * - [OUT] ecx: ECX address containing the third part of the result + * - [OUT] edx: EDX address containing the fourth part of the result + * Returning : Nothing + * ----------------------------------------------------------------------- + * Exposure : Internal + * ----------------------------------------------------------------------- + */ +{ + asm volatile("cpuid" + : "=a" (*eax), + "=b" (*ebx), + "=c" (*ecx), + "=d" (*edx) + : "0" (*eax), "2" (*ecx) + : "memory"); +} + +char* + specprobe_get_vendor + ( + ) +/* + * ----------------------------------------------------------------------- + * Name : specprobe_get_vendor + * Description : Gets the processor vendor string from the CPUID values + * ----------------------------------------------------------------------- + * Arguments : Nothing + * Returning : A NULL-terminated string containing vendor information + * ----------------------------------------------------------------------- + * Exposure : Exposed to the SpecProbe managed world + * ----------------------------------------------------------------------- + */ +{ + // Vendor (AuthenticAMD, GenuineIntel, ...) + unsigned int eax, ebx, ecx, edx; + eax = EAX_VENDOR; + native_cpuid(&eax, &ebx, &ecx, &edx); + + // Create a new string containing vendor information + char* vendor = (char*)malloc(13); + memcpy(vendor, &ebx, 4); + memcpy(vendor + 4, &edx, 4); + memcpy(vendor + 8, &ecx, 4); + + // Terminate the string with NULL so that we can read it from the + // managed world of SpecProbe + vendor[12] = '\0'; + return vendor; +} + +char* +specprobe_get_cpu_name + ( + ) +/* + * ----------------------------------------------------------------------- + * Name : specprobe_get_cpu_name + * Description : Gets the processor name string from the CPUID values + * ----------------------------------------------------------------------- + * Arguments : Nothing + * Returning : A NULL-terminated string containing processor name + * ----------------------------------------------------------------------- + * Exposure : Exposed to the SpecProbe managed world + * ----------------------------------------------------------------------- + */ +{ + // CPU name (AMD Athlon(tm) XP 1500+, ...) + unsigned int eax, ebx, ecx, edx; + eax = EAX_NAME_PART1; + native_cpuid(&eax, &ebx, &ecx, &edx); + + // Do the allocation work, part 1... + char* name = (char*)malloc(49); + memcpy(name , &eax, 4); + memcpy(name + 4 , &ebx, 4); + memcpy(name + 8 , &ecx, 4); + memcpy(name + 12, &edx, 4); + + // Part 2... + eax = EAX_NAME_PART2; + native_cpuid(&eax, &ebx, &ecx, &edx); + memcpy(name + 16, &eax, 4); + memcpy(name + 20, &ebx, 4); + memcpy(name + 24, &ecx, 4); + memcpy(name + 28, &edx, 4); + + // Part 3... + eax = EAX_NAME_PART3; + native_cpuid(&eax, &ebx, &ecx, &edx); + memcpy(name + 32, &eax, 4); + memcpy(name + 36, &ebx, 4); + memcpy(name + 40, &ecx, 4); + memcpy(name + 44, &edx, 4); + + // Terminate the string with NULL. See above comment. + name[48] = '\0'; + return name; +} + diff --git a/tools/Makefile b/tools/Makefile new file mode 100644 index 0000000..77bbf99 --- /dev/null +++ b/tools/Makefile @@ -0,0 +1,9 @@ +# Below is a workaround for .NET SDK 7.0 trying to allocate large amounts of memory for GC work: +# https://github.com/dotnet/runtime/issues/85556#issuecomment-1529177092 +DOTNET_PAGE_SIZE = $(shell getconf PAGESIZE) +DOTNET_AVPHYS_PAGES = $(shell getconf _AVPHYS_PAGES) +DOTNET_HEAP_LIMIT = $(shell printf '%X\n' $$(($(DOTNET_AVPHYS_PAGES) * $(DOTNET_PAGE_SIZE)))) + +invoke-build: + chmod +x ./build.sh + ./build.sh || (echo Retrying with heap limit 0x$(DOTNET_HEAP_LIMIT)... && DOTNET_GCHeapHardLimit=$(DOTNET_HEAP_LIMIT) ./build.sh) diff --git a/tools/build.cmd b/tools/build.cmd new file mode 100644 index 0000000..995fb89 --- /dev/null +++ b/tools/build.cmd @@ -0,0 +1,40 @@ +@echo off + +REM SpecProbe Copyright (C) 2023 Aptivi +REM +REM This file is part of SpecProbe +REM +REM SpecProbe is free software: you can redistribute it and/or modify +REM it under the terms of the GNU General Public License as published by +REM the Free Software Foundation, either version 3 of the License, or +REM (at your option) any later version. +REM +REM SpecProbe is distributed in the hope that it will be useful, +REM but WITHOUT ANY WARRANTY; without even the implied warranty of +REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +REM GNU General Public License for more details. +REM +REM You should have received a copy of the GNU General Public License +REM along with this program. If not, see . + +REM This script builds and packs the artifacts. Use when you have VS installed. +set releaseconfig=%1 +if "%releaseconfig%" == "" set releaseconfig=Release + +:download +echo Downloading packages... +"%ProgramFiles%\dotnet\dotnet.exe" msbuild "..\SpecProbe.sln" -t:restore -p:Configuration=%releaseconfig% +if %errorlevel% == 0 goto :build +echo There was an error trying to download packages (%errorlevel%). +goto :finished + +:build +echo Building Nitrocid KS... +"%ProgramFiles%\dotnet\dotnet.exe" msbuild "..\SpecProbe.sln" -p:Configuration=%releaseconfig% +if %errorlevel% == 0 goto :success +echo There was an error trying to build (%errorlevel%). +goto :finished + +:success +echo Build successful. +:finished diff --git a/tools/build.sh b/tools/build.sh new file mode 100644 index 0000000..e6d7231 --- /dev/null +++ b/tools/build.sh @@ -0,0 +1,51 @@ +#!/bin/bash + +# SpecProbe Copyright (C) 2023 Aptivi +# +# This file is part of SpecProbe +# +# SpecProbe is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# SpecProbe is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# This script builds. Use when you have dotnet installed. +releaseconf=$1 +if [ -z $releaseconf ]; then + releaseconf=Release +fi + +# Check for dependencies +dotnetpath=`which dotnet` +if [ ! $? == 0 ]; then + echo dotnet is not found. + exit 1 +fi + +# Download packages +echo Downloading packages... +"$dotnetpath" msbuild "../SpecProbe.sln" -t:restore -p:Configuration=$releaseconf +if [ ! $? == 0 ]; then + echo Download failed. + exit 1 +fi + +# Build KS +echo Building KS... +"$dotnetpath" msbuild "../SpecProbe.sln" -p:Configuration=$releaseconf +if [ ! $? == 0 ]; then + echo Build failed. + exit 1 +fi + +# Inform success +echo Build successful. +exit 0 diff --git a/tools/docgen-pack.cmd b/tools/docgen-pack.cmd new file mode 100644 index 0000000..e4b5802 --- /dev/null +++ b/tools/docgen-pack.cmd @@ -0,0 +1,39 @@ +@echo off + +REM SpecProbe Copyright (C) 2023 Aptivi +REM +REM This file is part of SpecProbe +REM +REM SpecProbe is free software: you can redistribute it and/or modify +REM it under the terms of the GNU General Public License as published by +REM the Free Software Foundation, either version 3 of the License, or +REM (at your option) any later version. +REM +REM SpecProbe is distributed in the hope that it will be useful, +REM but WITHOUT ANY WARRANTY; without even the implied warranty of +REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +REM GNU General Public License for more details. +REM +REM You should have received a copy of the GNU General Public License +REM along with this program. If not, see . + +REM This script builds KS documentation and packs the artifacts. Use when you have VS installed. +for /f "tokens=* USEBACKQ" %%f in (`type version`) do set version=%%f + +:pack +echo Packing documentation... +"%ProgramFiles%\WinRAR\rar.exe" a -ep1 -r -m5 %temp%/%version%-doc.rar "..\docs\" +if %errorlevel% == 0 goto :finalize +echo There was an error trying to pack documentation (%errorlevel%). +goto :finished + +:finalize +rmdir /S /Q "..\DocGen\api\" +rmdir /S /Q "..\DocGen\obj\" +rmdir /S /Q "..\docs\" +move %temp%\%version%-doc.rar +echo Build and pack successful. +goto :finished + +:finished +pause diff --git a/tools/docgen-pack.sh b/tools/docgen-pack.sh new file mode 100644 index 0000000..628b66f --- /dev/null +++ b/tools/docgen-pack.sh @@ -0,0 +1,44 @@ +#!/bin/bash + +# SpecProbe Copyright (C) 2023 Aptivi +# +# This file is part of SpecProbe +# +# SpecProbe is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# SpecProbe is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# This script builds and packs the artifacts. Use when you have MSBuild installed. +version=$(cat version) + +# Check for dependencies +rarpath=`which rar` +if [ ! $? == 0 ]; then + echo rar is not found. + exit 1 +fi + +# Pack documentation +echo Packing documentation... +"$rarpath" a -ep1 -r -m5 /tmp/$version-doc.rar "../docs/" +if [ ! $? == 0 ]; then + echo Packing using rar failed. + exit 1 +fi + +# Inform success +rm -rf "../DocGen/api" +rm -rf "../DocGen/obj" +rm -rf "../docs" +mv /tmp/$version-doc.rar . +echo Pack successful. +exit 0 diff --git a/tools/docgen.cmd b/tools/docgen.cmd new file mode 100644 index 0000000..1eb8d92 --- /dev/null +++ b/tools/docgen.cmd @@ -0,0 +1,36 @@ +@echo off + +REM SpecProbe Copyright (C) 2023 Aptivi +REM +REM This file is part of SpecProbe +REM +REM SpecProbe is free software: you can redistribute it and/or modify +REM it under the terms of the GNU General Public License as published by +REM the Free Software Foundation, either version 3 of the License, or +REM (at your option) any later version. +REM +REM SpecProbe is distributed in the hope that it will be useful, +REM but WITHOUT ANY WARRANTY; without even the implied warranty of +REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +REM GNU General Public License for more details. +REM +REM You should have received a copy of the GNU General Public License +REM along with this program. If not, see . + +REM This script builds documentation and packs the artifacts. + +echo Finding DocFX... +if exist %ProgramData%\chocolatey\bin\docfx.exe goto :build +echo You don't have DocFX installed. Download and install Chocolatey and DocFX. +goto :finished + +:build +echo Building Documentation... +%ProgramData%\chocolatey\bin\docfx.exe "..\DocGen\docfx.json" +if %errorlevel% == 0 goto :success +echo There was an error trying to build documentation (%errorlevel%). +goto :finished + +:success +echo Build and pack successful. +:finished diff --git a/tools/docgen.sh b/tools/docgen.sh new file mode 100644 index 0000000..c28d638 --- /dev/null +++ b/tools/docgen.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +# SpecProbe Copyright (C) 2023 Aptivi +# +# This file is part of SpecProbe +# +# SpecProbe is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# SpecProbe is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Check for dependencies +msbuildpath=`which docfx` +if [ ! $? == 0 ]; then + echo DocFX is not found. + exit 1 +fi + +# Build KS +echo Building documentation... +docfx DocGen/docfx.json +if [ ! $? == 0 ]; then + echo Build failed. + exit 1 +fi + +# Inform success +echo Build successful. +exit 0 diff --git a/tools/pack.cmd b/tools/pack.cmd new file mode 100644 index 0000000..85c0075 --- /dev/null +++ b/tools/pack.cmd @@ -0,0 +1,37 @@ +@echo off + +REM SpecProbe Copyright (C) 2023 Aptivi +REM +REM This file is part of SpecProbe +REM +REM SpecProbe is free software: you can redistribute it and/or modify +REM it under the terms of the GNU General Public License as published by +REM the Free Software Foundation, either version 3 of the License, or +REM (at your option) any later version. +REM +REM SpecProbe is distributed in the hope that it will be useful, +REM but WITHOUT ANY WARRANTY; without even the implied warranty of +REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +REM GNU General Public License for more details. +REM +REM You should have received a copy of the GNU General Public License +REM along with this program. If not, see . + +for /f "tokens=* USEBACKQ" %%f in (`type version`) do set version=%%f +set releaseconfig=%1 +if "%releaseconfig%" == "" set releaseconfig=Release + +:packbin +echo Packing binary... +"%ProgramFiles%\WinRAR\rar.exe" a -ep1 -r -m5 %temp%/%version%-bin.rar "..\SpecProbe.Bin\net6.0\" +"%ProgramFiles%\WinRAR\rar.exe" a -ep1 -r -m5 %temp%/%version%-demo.rar "..\SpecProbe.ConsoleTest.Bin\net6.0\" +if %errorlevel% == 0 goto :complete +echo There was an error trying to pack binary (%errorlevel%). +goto :finished + +:complete +move %temp%\%version%-bin.rar +move %temp%\%version%-demo.rar + +echo Pack successful. +:finished diff --git a/tools/pack.sh b/tools/pack.sh new file mode 100644 index 0000000..bb9c528 --- /dev/null +++ b/tools/pack.sh @@ -0,0 +1,47 @@ +#!/bin/bash + +# SpecProbe Copyright (C) 2023 Aptivi +# +# This file is part of SpecProbe +# +# SpecProbe is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# SpecProbe is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# This script builds and packs the artifacts. Use when you have MSBuild installed. +version=$(cat version) +releaseconf=$1 +if [ -z $releaseconf ]; then + releaseconf=Release +fi + +# Check for dependencies +rarpath=`which rar` +if [ ! $? == 0 ]; then + echo rar is not found. + exit 1 +fi + +# Pack binary +echo Packing binary... +"$rarpath" a -ep1 -r -m5 /tmp/$version-bin.rar "../SpecProbe.Bin/net6.0/" +"$rarpath" a -ep1 -r -m5 /tmp/$version-demo.rar "../SpecProbe.ConsoleTest.Bin/net6.0/" +if [ ! $? == 0 ]; then + echo Packing using rar failed. + exit 1 +fi + +# Inform success +mv ~/tmp/$version-bin.rar . +mv ~/tmp/$version-demo.rar . +echo Build and pack successful. +exit 0 diff --git a/tools/version b/tools/version new file mode 100644 index 0000000..3eefcb9 --- /dev/null +++ b/tools/version @@ -0,0 +1 @@ +1.0.0