A simple WPF application for computing SHA256 hashes of files.
- Calculate SHA256 hashes for files
- Support for drag & drop
- Auto-hash when file is selected
- Copy hash results to clipboard
- Cancel long-running hash operations
- Professional icon and branding
- Lightweight framework-dependent executable
dotnet run --project CSharpHash/CSharpHash.csprojDownload the latest CSharpHash.exe from the Releases page.
Requirements:
- Windows 10/11 (64-bit)
- .NET 8 Desktop Runtime pre-installed
Features:
- Professional icon embedded in executable
- Single-file deployment (no external dependencies needed)
Simply download and run CSharpHash.exe!
dotnet build CSharpHash/CSharpHash.csprojscripts/build.cmd fd releaseBuild script arguments:
fdorframework-dependent: Framework-dependent publishing (default)scorself-contained: Self-contained publishingdebug: Debug configurationrelease: Release configuration (default)
Or using individual dotnet commands:
dotnet publish CSharpHash/CSharpHash.csproj --configuration Release --self-contained false --runtime win-x64 --output ./publishTo create a new release:
- Commit your changes
- Create a git tag:
git tag v1.0.1(version automatically set from tag name) - Push the tag:
git push origin v1.0.1 - GitHub Actions will automatically build and publish the release
The workflow will:
- Extract the version from the tag name (e.g.,
v1.0.1→ version1.0.1) - Build the executable with that version
- Publish the executable file to GitHub Releases
Tag Format: Use v{major}.{minor}.{patch} format (e.g., v1.2.3)
Example:
git add .
git commit -m "Add new feature"
git tag v1.0.1
git push origin main
git push origin v1.0.1 # This triggers the release build