diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..c457292
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,65 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = space
+indent_size = 4
+
+[*.{json,yml,yaml}]
+indent_size = 2
+
+[*.md]
+trim_trailing_whitespace = false
+
+# Resource files: values are data, never re-wrap them (IDE formatters used to inject indentation into strings).
+[*.resx]
+max_line_length = off
+ij_xml_keep_line_breaks = true
+ij_xml_keep_line_breaks_in_text = true
+ij_xml_text_wrap = off
+ij_xml_wrap_long_lines = false
+
+[*.{xml,axaml,csproj,props,targets,slnx,manifest,plist}]
+indent_size = 4
+
+[*.cs]
+# Layout
+csharp_new_line_before_open_brace = all
+csharp_new_line_before_else = true
+csharp_new_line_before_catch = true
+csharp_new_line_before_finally = true
+csharp_indent_case_contents = true
+csharp_indent_switch_labels = true
+csharp_space_after_cast = false
+csharp_preserve_single_line_statements = false
+csharp_preserve_single_line_blocks = true
+
+# Language preferences
+csharp_style_namespace_declarations = file_scoped:warning
+csharp_style_var_for_built_in_types = true:suggestion
+csharp_style_var_when_type_is_apparent = true:suggestion
+csharp_style_var_elsewhere = true:suggestion
+csharp_style_expression_bodied_methods = when_on_single_line:silent
+csharp_style_expression_bodied_properties = true:silent
+csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
+csharp_style_prefer_switch_expression = true:suggestion
+csharp_prefer_simple_using_statement = true:suggestion
+dotnet_style_qualification_for_field = false:suggestion
+dotnet_style_qualification_for_property = false:suggestion
+dotnet_style_qualification_for_method = false:suggestion
+dotnet_style_qualification_for_event = false:suggestion
+dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
+dotnet_sort_system_directives_first = true
+dotnet_separate_import_directive_groups = false
+
+# Naming: private fields are _camelCase, constants are PascalCase
+dotnet_naming_rule.private_fields_underscore.symbols = private_fields
+dotnet_naming_rule.private_fields_underscore.style = underscore_camel
+dotnet_naming_rule.private_fields_underscore.severity = suggestion
+dotnet_naming_symbols.private_fields.applicable_kinds = field
+dotnet_naming_symbols.private_fields.applicable_accessibilities = private
+dotnet_naming_style.underscore_camel.capitalization = camel_case
+dotnet_naming_style.underscore_camel.required_prefix = _
diff --git a/.gitattributes b/.gitattributes
index 94f480d..6468769 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,8 @@
-* text=auto eol=lf
\ No newline at end of file
+* text=auto eol=lf
+
+# Binary assets
+*.png binary
+*.ico binary
+*.icns binary
+*.jpg binary
+*.gif binary
diff --git a/.gitignore b/.gitignore
index 3092c42..18b7c13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,29 +3,38 @@
*.log
*.swp
-# Visual Studio / .NET / Avalonia
+# .NET build output
[Bb]in/
[Oo]bj/
+artifacts/
+publish/
+TestResults/
+*.trx
+coverage*.xml
+coverage*.cobertura.xml
+BenchmarkDotNet.Artifacts/
+
+# Velopack output
+Releases/
+
+# Visual Studio / Rider / VS Code
.vs/
*.user
*.suo
*.userprefs
*.sln.docstates
-*.lock.json
-*.nupkg
-
-# JetBrains (Rider, ReSharper)
.idea/
_ReSharper*/
*.DotSettings.user
*.sln.iml
-
-# Visual Studio Code
.vscode/
+# Packages
+*.nupkg
+
# OS generated
Thumbs.db
ehthumbs.db
Desktop.ini
-.fake
\ No newline at end of file
+.fake
diff --git a/CheckHash.csproj b/CheckHash.csproj
deleted file mode 100644
index bf7c2b5..0000000
--- a/CheckHash.csproj
+++ /dev/null
@@ -1,290 +0,0 @@
-
-
- WinExe
- net10.0
- enable
- app.manifest
- true
-
- 1.1.3
- 1.1.3
- 1.1.3.0
-
- Hash Tool
-
- poli0981
- Hash Tool
- A powerful tool for generating, verifying, and compressing file hashes. Or so I think :)
- Copyright (c) 2026 poli0981
-
-
- Assets\icon\favicon.ico
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- None
- All
-
-
-
-
-
-
-
-
-
-
-
- PublicResXFileCodeGenerator
- Resources.Designer.cs
-
-
- True
- True
- Resources.resx
-
-
-
-
-
-
-
-
-
-
- icons.icns
- Hash Tool
- Hash Tool
- com.poli0981.CheckHash
-
-
-
-
- icons.icns
- PreserveNewest
- Included
-
-
-
-
-
- ar
-
-
- bg-BG
-
-
- bn-BD
-
-
- bs-Latn-BA
-
-
- cs-CZ
-
-
- da-DK
-
-
- de-AT
-
-
- de-CH
-
-
- de-DE
-
-
- dv-MV
-
-
- dz-BT
-
-
- el-CY
-
-
- el-GR
-
-
- en-GB
-
-
- en-IN
-
-
- en-US
-
-
- en-SG
-
-
- es-419
-
-
- es-ES
-
-
- et-EE
-
-
- fa-IR
-
-
- fi-FI
-
-
- fil-PH
-
-
- fr-FR
-
-
- he-IL
-
-
- hi-IN
-
-
- hr-HR
-
-
- hu-HU
-
-
- id-ID
-
-
- is-IS
-
-
- it-IT
-
-
- ja-JP
-
-
- kk-KZ
-
-
- km-KH
-
-
- ko-KR
-
-
- ky-KG
-
-
- lo-LA
-
-
- lt-LT
-
-
- lv-LV
-
-
- mk-MK
-
-
- mn-MN
-
-
- ms-MY
-
-
- my-MM
-
-
- nb-NO
-
-
- ne-NP
-
-
- nl-BE
-
-
- nl-NL
-
-
- pl-PL
-
-
- ps-AF
-
-
- pt-BR
-
-
- ro-RO
-
-
- ru-RU
-
-
- si-LK
-
-
- sk-SK
-
-
- sl-SI
-
-
- sq-AL
-
-
- sr-Cyrl-RS
-
-
- sv-SE
-
-
- tg-TJ
-
-
- th-TH
-
-
- tk-TM
-
-
- tr-TR
-
-
- uk-UA
-
-
- vi-VN
-
-
- zh-Hans-CN
-
-
- zh-Hans-SG
-
-
- zh-Hant
-
-
-
-
\ No newline at end of file
diff --git a/CheckHash.sln b/CheckHash.sln
deleted file mode 100644
index 9ba47cb..0000000
--- a/CheckHash.sln
+++ /dev/null
@@ -1,16 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CheckHash", "CheckHash.csproj", "{840F48D3-9F48-4E37-96F9-10C3306EDCDA}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {840F48D3-9F48-4E37-96F9-10C3306EDCDA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {840F48D3-9F48-4E37-96F9-10C3306EDCDA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {840F48D3-9F48-4E37-96F9-10C3306EDCDA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {840F48D3-9F48-4E37-96F9-10C3306EDCDA}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
-EndGlobal
diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 0000000..feacfad
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,25 @@
+
+
+
+ net10.0
+ latest
+ enable
+ disable
+
+
+ 1.1.3
+ poli0981
+ poli0981
+ Hash Tool
+ Copyright (c) 2026 poli0981
+ https://github.com/poli0981/HashTool
+
+ true
+ true
+
+
+ true
+ all
+ low
+
+
diff --git a/Directory.Packages.props b/Directory.Packages.props
new file mode 100644
index 0000000..1a2feb6
--- /dev/null
+++ b/Directory.Packages.props
@@ -0,0 +1,29 @@
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HashTool.slnx b/HashTool.slnx
new file mode 100644
index 0000000..30cd776
--- /dev/null
+++ b/HashTool.slnx
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/Lang/Resources.Designer.cs b/Lang/Resources.Designer.cs
deleted file mode 100644
index 7fb1384..0000000
--- a/Lang/Resources.Designer.cs
+++ /dev/null
@@ -1,2130 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace CheckHash.Lang {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- public class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- public static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CheckHash.Lang.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- public static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
-
- ///
- /// Looks up a localized string similar to AI Assistance.
- ///
- public static string About_AI {
- get {
- return ResourceManager.GetString("About_AI", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to This software was developed with assistance from AI (Gemini 3 Pro and Grok 4.1)..
- ///
- public static string About_AIContent {
- get {
- return ResourceManager.GetString("About_AIContent", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Author.
- ///
- public static string About_Author {
- get {
- return ResourceManager.GetString("About_Author", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Copyright.
- ///
- public static string About_Copyright {
- get {
- return ResourceManager.GetString("About_Copyright", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to A powerful tool for generating, verifying, and compressing file hashes. Or so I think :).
- ///
- public static string About_Desc {
- get {
- return ResourceManager.GetString("About_Desc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Documents.
- ///
- public static string About_Documents {
- get {
- return ResourceManager.GetString("About_Documents", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Released under the MIT License..
- ///
- public static string About_License {
- get {
- return ResourceManager.GetString("About_License", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Software.
- ///
- public static string About_Software {
- get {
- return ResourceManager.GetString("About_Software", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Technology.
- ///
- public static string About_Tech {
- get {
- return ResourceManager.GetString("About_Tech", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Built with C# and .NET 10.0.102..
- ///
- public static string About_TechContent {
- get {
- return ResourceManager.GetString("About_TechContent", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Third-party Libraries.
- ///
- public static string About_ThirdParty {
- get {
- return ResourceManager.GetString("About_ThirdParty", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hash Tool.
- ///
- public static string AppTitle {
- get {
- return ResourceManager.GetString("AppTitle", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Accept.
- ///
- public static string Btn_Accept {
- get {
- return ResourceManager.GetString("Btn_Accept", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Add Files....
- ///
- public static string Btn_AddFiles {
- get {
- return ResourceManager.GetString("Btn_AddFiles", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Add Folder....
- ///
- public static string Btn_AddFolder {
- get {
- return ResourceManager.GetString("Btn_AddFolder", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to COMPUTE ALL.
- ///
- public static string Btn_CalcAll {
- get {
- return ResourceManager.GetString("Btn_CalcAll", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cancel.
- ///
- public static string Btn_Cancel {
- get {
- return ResourceManager.GetString("Btn_Cancel", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to VERIFY ALL.
- ///
- public static string Btn_CheckAll {
- get {
- return ResourceManager.GetString("Btn_CheckAll", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Verify Now.
- ///
- public static string Btn_CheckNow {
- get {
- return ResourceManager.GetString("Btn_CheckNow", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Clear List.
- ///
- public static string Btn_Clear {
- get {
- return ResourceManager.GetString("Btn_Clear", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Clear Failed.
- ///
- public static string Btn_ClearFailed {
- get {
- return ResourceManager.GetString("Btn_ClearFailed", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Clear Hashes.
- ///
- public static string Btn_ClearHashes {
- get {
- return ResourceManager.GetString("Btn_ClearHashes", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Compress (.Zip).
- ///
- public static string Btn_Compress {
- get {
- return ResourceManager.GetString("Btn_Compress", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Decline.
- ///
- public static string Btn_Decline {
- get {
- return ResourceManager.GetString("Btn_Decline", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Install.
- ///
- public static string Btn_Install {
- get {
- return ResourceManager.GetString("Btn_Install", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No.
- ///
- public static string Btn_No {
- get {
- return ResourceManager.GetString("Btn_No", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to OK.
- ///
- public static string Btn_OK {
- get {
- return ResourceManager.GetString("Btn_OK", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Yes.
- ///
- public static string Btn_Yes {
- get {
- return ResourceManager.GetString("Btn_Yes", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Dev Edition.
- ///
- public static string Channel_Dev {
- get {
- return ResourceManager.GetString("Channel_Dev", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Stable.
- ///
- public static string Channel_Stable {
- get {
- return ResourceManager.GetString("Channel_Stable", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to BETA.
- ///
- public static string Dev_Beta {
- get {
- return ResourceManager.GetString("Dev_Beta", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Clear Console.
- ///
- public static string Dev_Clear {
- get {
- return ResourceManager.GetString("Dev_Clear", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Developer Console.
- ///
- public static string Dev_Console {
- get {
- return ResourceManager.GetString("Dev_Console", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Copy All.
- ///
- public static string Dev_Copy {
- get {
- return ResourceManager.GetString("Dev_Copy", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No Save.
- ///
- public static string Dev_NoSave {
- get {
- return ResourceManager.GetString("Dev_NoSave", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Open Log Folder.
- ///
- public static string Dev_OpenFolder {
- get {
- return ResourceManager.GetString("Dev_OpenFolder", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Paused.
- ///
- public static string Dev_Paused {
- get {
- return ResourceManager.GetString("Dev_Paused", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Recording.
- ///
- public static string Dev_Recording {
- get {
- return ResourceManager.GetString("Dev_Recording", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Save to File.
- ///
- public static string Dev_SaveToFile {
- get {
- return ResourceManager.GetString("Dev_SaveToFile", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Pause real-time logging..
- ///
- public static string Dev_ToolTip_Pause {
- get {
- return ResourceManager.GetString("Dev_ToolTip_Pause", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Save debug log to disk..
- ///
- public static string Dev_ToolTip_Save {
- get {
- return ResourceManager.GetString("Dev_ToolTip_Save", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Zip Archive.
- ///
- public static string Dialog_FileType_Zip {
- get {
- return ResourceManager.GetString("Dialog_FileType_Zip", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Save Hash File.
- ///
- public static string Dialog_SaveHash {
- get {
- return ResourceManager.GetString("Dialog_SaveHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Save Compressed File.
- ///
- public static string Dialog_SaveZip {
- get {
- return ResourceManager.GetString("Dialog_SaveZip", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Select Files (Original or .hash File).
- ///
- public static string Dialog_SelectCheckFiles {
- get {
- return ResourceManager.GetString("Dialog_SelectCheckFiles", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Select Files to Hash.
- ///
- public static string Dialog_SelectFiles {
- get {
- return ResourceManager.GetString("Dialog_SelectFiles", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Select Folder to Scan.
- ///
- public static string Dialog_SelectFolder {
- get {
- return ResourceManager.GetString("Dialog_SelectFolder", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Select hash file for: {0}.
- ///
- public static string Dialog_SelectHashFile {
- get {
- return ResourceManager.GetString("Dialog_SelectHashFile", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Changelog.
- ///
- public static string Doc_Changelog {
- get {
- return ResourceManager.GetString("Doc_Changelog", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Acknowledgements.
- ///
- public static string Doc_Credit {
- get {
- return ResourceManager.GetString("Doc_Credit", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Disclaimer.
- ///
- public static string Doc_Disclaimer {
- get {
- return ResourceManager.GetString("Doc_Disclaimer", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to End User License Agreement.
- ///
- public static string Doc_EULA {
- get {
- return ResourceManager.GetString("Doc_EULA", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Privacy Policy.
- ///
- public static string Doc_PrivacyPolicy {
- get {
- return ResourceManager.GetString("Doc_PrivacyPolicy", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to README.
- ///
- public static string Doc_Readme {
- get {
- return ResourceManager.GetString("Doc_Readme", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Terms of Service.
- ///
- public static string Doc_ToS {
- get {
- return ResourceManager.GetString("Doc_ToS", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No files. Click 'Add Files' to start..
- ///
- public static string EmptyState_DropFiles {
- get {
- return ResourceManager.GetString("EmptyState_DropFiles", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to GitHub API rate limit exceeded. Please try again later..
- ///
- public static string Error_ApiLimit {
- get {
- return ResourceManager.GetString("Error_ApiLimit", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Client error (4xx). Please check the request..
- ///
- public static string Error_Client {
- get {
- return ResourceManager.GetString("Error_Client", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Network connection error. Please check your internet connection..
- ///
- public static string Error_Network {
- get {
- return ResourceManager.GetString("Error_Network", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Server error (5xx). Please try again later..
- ///
- public static string Error_Server {
- get {
- return ResourceManager.GetString("Error_Server", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to All.
- ///
- public static string Filter_All {
- get {
- return ResourceManager.GetString("Filter_All", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Tip: Shift+A to Verify All, Ctrl+F to Add Files, Ctrl+Shift+H to Clear List..
- ///
- public static string Help_CheckHash {
- get {
- return ResourceManager.GetString("Help_CheckHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Tip: Shift+C to Compute All, Shift+Z to Compress, Ctrl+F to Add Files..
- ///
- public static string Help_CreateHash {
- get {
- return ResourceManager.GetString("Help_CreateHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Release channel:.
- ///
- public static string Lbl_Channel {
- get {
- return ResourceManager.GetString("Lbl_Channel", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Current version: {0}.
- ///
- public static string Lbl_CurrentVersion {
- get {
- return ResourceManager.GetString("Lbl_CurrentVersion", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to ✅ {0} ({1:F2}%) | ❌ {2} ({3:F2}%) | ⛔ {4} ({5:F2}%).
- ///
- public static string Lbl_DetailedStats {
- get {
- return ResourceManager.GetString("Lbl_DetailedStats", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {0}/{1} ({2:F2}%).
- ///
- public static string Lbl_ProgressStats {
- get {
- return ResourceManager.GetString("Lbl_ProgressStats", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Sample:.
- ///
- public static string Lbl_Sample {
- get {
- return ResourceManager.GetString("Lbl_Sample", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Read: {0}/s | Write: {1}/s.
- ///
- public static string Lbl_Speed {
- get {
- return ResourceManager.GetString("Lbl_Speed", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Ready.
- ///
- public static string Lbl_Status_Ready {
- get {
- return ResourceManager.GetString("Lbl_Status_Ready", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Total files: {0}.
- ///
- public static string Lbl_TotalFiles {
- get {
- return ResourceManager.GetString("Lbl_TotalFiles", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to About.
- ///
- public static string Menu_About {
- get {
- return ResourceManager.GetString("Menu_About", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Verify Hash.
- ///
- public static string Menu_Check {
- get {
- return ResourceManager.GetString("Menu_Check", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Generate Hash.
- ///
- public static string Menu_Create {
- get {
- return ResourceManager.GetString("Menu_Create", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Developer.
- ///
- public static string Menu_Developer {
- get {
- return ResourceManager.GetString("Menu_Developer", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Settings.
- ///
- public static string Menu_Settings {
- get {
- return ResourceManager.GetString("Menu_Settings", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Theme.
- ///
- public static string Menu_Theme {
- get {
- return ResourceManager.GetString("Menu_Theme", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Update.
- ///
- public static string Menu_Update {
- get {
- return ResourceManager.GetString("Menu_Update", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Administrator Mode.
- ///
- public static string Msg_AdminMode {
- get {
- return ResourceManager.GetString("Msg_AdminMode", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Please restart the application for changes to take effect..
- ///
- public static string Msg_AdminRestart {
- get {
- return ResourceManager.GetString("Msg_AdminRestart", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Checked {0} files.
- /// ✅ Match: {1}
- /// ❌ Mismatch/Error: {2}
- /// ⛔ Cancelled: {3}
- /// .
- ///
- public static string Msg_CheckResult {
- get {
- return ResourceManager.GetString("Msg_CheckResult", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Removed {0} items..
- ///
- public static string Msg_ClearedFailed {
- get {
- return ResourceManager.GetString("Msg_ClearedFailed", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Configuration Check.
- ///
- public static string Msg_ConfigCheck {
- get {
- return ResourceManager.GetString("Msg_ConfigCheck", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Configuration path copied..
- ///
- public static string Msg_ConfigCopied {
- get {
- return ResourceManager.GetString("Msg_ConfigCopied", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File created successfully!.
- ///
- public static string Msg_ConfigCreated {
- get {
- return ResourceManager.GetString("Msg_ConfigCreated", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File exists at:
- /// {0}
- /// .
- ///
- public static string Msg_ConfigExists {
- get {
- return ResourceManager.GetString("Msg_ConfigExists", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File does not exist!.
- ///
- public static string Msg_ConfigMissing {
- get {
- return ResourceManager.GetString("Msg_ConfigMissing", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Exiting will cancel all ongoing tasks. Are you sure?.
- ///
- public static string Msg_ConfirmExit_Content {
- get {
- return ResourceManager.GetString("Msg_ConfirmExit_Content", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Confirm Exit.
- ///
- public static string Msg_ConfirmExit_Title {
- get {
- return ResourceManager.GetString("Msg_ConfirmExit_Title", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to I have read and agree. I accept full responsibility..
- ///
- public static string Msg_DisclaimerAgree {
- get {
- return ResourceManager.GetString("Msg_DisclaimerAgree", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to You are about to switch to the Developer (Pre-release) update channel.
- ///
- /// This version may contain bugs, be unstable, and could cause data loss.
- ///
- /// I am not responsible for any issues arising from using this version.
- /// .
- ///
- public static string Msg_DisclaimerContent {
- get {
- return ResourceManager.GetString("Msg_DisclaimerContent", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to ⚠️ DEVELOPER VERSION WARNING.
- ///
- public static string Msg_DisclaimerTitle {
- get {
- return ResourceManager.GetString("Msg_DisclaimerTitle", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Your drive is out of space. Please choose another location :).
- ///
- public static string Msg_DiskFull {
- get {
- return ResourceManager.GetString("Msg_DiskFull", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Don't show this alert again.
- ///
- public static string Msg_DontShowAgain {
- get {
- return ResourceManager.GetString("Msg_DontShowAgain", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The selected folder is empty..
- ///
- public static string Msg_EmptyFolder {
- get {
- return ResourceManager.GetString("Msg_EmptyFolder", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Error.
- ///
- public static string Msg_Error {
- get {
- return ResourceManager.GetString("Msg_Error", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Time Remaining: {0}.
- ///
- public static string Msg_EstimatedTime {
- get {
- return ResourceManager.GetString("Msg_EstimatedTime", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Added {0} files. Skipped {1} files due to limit..
- ///
- public static string Msg_FileLimit {
- get {
- return ResourceManager.GetString("Msg_FileLimit", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Skipped {0} files exceeding limit ({1} {2}):
- /// {3}
- /// .
- ///
- public static string Msg_FileSizeLimitExceeded_Summary {
- get {
- return ResourceManager.GetString("Msg_FileSizeLimitExceeded_Summary", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to You can only select up to {0} folders at a time..
- ///
- public static string Msg_FolderLimit {
- get {
- return ResourceManager.GetString("Msg_FolderLimit", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Are you sure about that?.
- ///
- public static string Msg_LanguageChangeConfirmation {
- get {
- return ResourceManager.GetString("Msg_LanguageChangeConfirmation", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Language Change.
- ///
- public static string Msg_LanguageChangeTitle {
- get {
- return ResourceManager.GetString("Msg_LanguageChangeTitle", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Memory cleanup triggered..
- ///
- public static string Msg_MemoryFreed {
- get {
- return ResourceManager.GetString("Msg_MemoryFreed", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No pre-release version found. Keeping current version..
- ///
- public static string Msg_NoPreRelease {
- get {
- return ResourceManager.GetString("Msg_NoPreRelease", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No newer updates found..
- ///
- public static string Msg_NoUpdate {
- get {
- return ResourceManager.GetString("Msg_NoUpdate", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot open folder: {0}.
- ///
- public static string Msg_OpenFolderError {
- get {
- return ResourceManager.GetString("Msg_OpenFolderError", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Pre-release version {0} is available.
- ///
- /// {1}
- ///
- /// This version may be unstable. Do you want to download?
- /// .
- ///
- public static string Msg_PreReleaseWarning {
- get {
- return ResourceManager.GetString("Msg_PreReleaseWarning", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to read this hash file..
- ///
- public static string Msg_ReadHashError {
- get {
- return ResourceManager.GetString("Msg_ReadHashError", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Processing completed!
- /// ✅ Success: {0}
- /// ❌ Failed: {1}
- /// ⛔ Cancelled: {2}
- /// .
- ///
- public static string Msg_Result_Content {
- get {
- return ResourceManager.GetString("Msg_Result_Content", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Result.
- ///
- public static string Msg_Result_Title {
- get {
- return ResourceManager.GetString("Msg_Result_Title", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to System Language.
- ///
- public static string Msg_SystemLanguage {
- get {
- return ResourceManager.GetString("Msg_SystemLanguage", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Returning to 'Auto' setting requires a restart to fully take effect. Do you want to continue?.
- ///
- public static string Msg_SystemLanguageWarning {
- get {
- return ResourceManager.GetString("Msg_SystemLanguageWarning", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Task was stopped due to timeout..
- ///
- public static string Msg_TaskCancelled_Content {
- get {
- return ResourceManager.GetString("Msg_TaskCancelled_Content", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Task Stopped.
- ///
- public static string Msg_TaskCancelled_Title {
- get {
- return ResourceManager.GetString("Msg_TaskCancelled_Title", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Task Duration: {0}.
- ///
- public static string Msg_TaskDuration {
- get {
- return ResourceManager.GetString("Msg_TaskDuration", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Calculating....
- ///
- public static string Msg_TimeUnknown {
- get {
- return ResourceManager.GetString("Msg_TimeUnknown", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Version: {0}
- ///
- /// Changes:
- /// {1}
- ///
- /// Click 'Update Now' to download.
- /// .
- ///
- public static string Msg_UpdateContent {
- get {
- return ResourceManager.GetString("Msg_UpdateContent", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to New Update.
- ///
- public static string Msg_UpdateTitle {
- get {
- return ResourceManager.GetString("Msg_UpdateTitle", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Wrong file!.
- ///
- public static string Msg_WrongHashFile {
- get {
- return ResourceManager.GetString("Msg_WrongHashFile", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hash file mismatch!
- ///
- /// Original file: {0}
- /// Selected file: {1}
- ///
- /// Please select the correct accompanying hash file.
- /// .
- ///
- public static string Msg_WrongHashFileContent {
- get {
- return ResourceManager.GetString("Msg_WrongHashFileContent", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Size.
- ///
- public static string Placeholder_Size {
- get {
- return ResourceManager.GetString("Placeholder_Size", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Requires restart. Allows access to protected files..
- ///
- public static string Settings_AdminDesc {
- get {
- return ResourceManager.GetString("Settings_AdminDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Run as Administrator.
- ///
- public static string Settings_AdminMode {
- get {
- return ResourceManager.GetString("Settings_AdminMode", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Advanced.
- ///
- public static string Settings_Advanced {
- get {
- return ResourceManager.GetString("Settings_Advanced", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Auto-select optimal font for language.
- ///
- public static string Settings_AutoFont {
- get {
- return ResourceManager.GetString("Settings_AutoFont", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Settings are auto-saved to config.json.
- ///
- public static string Settings_AutoSave {
- get {
- return ResourceManager.GetString("Settings_AutoSave", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Force Quit & Cancel All.
- ///
- public static string Settings_BtnForceQuit {
- get {
- return ResourceManager.GetString("Settings_BtnForceQuit", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Free Memory.
- ///
- public static string Settings_BtnFreeMemory {
- get {
- return ResourceManager.GetString("Settings_BtnFreeMemory", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Show full path and copy to clipboard..
- ///
- public static string Settings_ConfigDesc {
- get {
- return ResourceManager.GetString("Settings_ConfigDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Configuration File Path.
- ///
- public static string Settings_ConfigPath {
- get {
- return ResourceManager.GetString("Settings_ConfigPath", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Configuration.
- ///
- public static string Settings_Configuration {
- get {
- return ResourceManager.GetString("Settings_Configuration", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Custom Text Color.
- ///
- public static string Settings_CustomColor {
- get {
- return ResourceManager.GetString("Settings_CustomColor", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Enable advanced logging and debugging tools..
- ///
- public static string Settings_DeveloperDesc {
- get {
- return ResourceManager.GetString("Settings_DeveloperDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Developer Mode.
- ///
- public static string Settings_DeveloperMode {
- get {
- return ResourceManager.GetString("Settings_DeveloperMode", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Emergency Action.
- ///
- public static string Settings_Emergency {
- get {
- return ResourceManager.GetString("Settings_Emergency", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Force quit the app and cancel all tasks immediately..
- ///
- public static string Settings_EmergencyDesc {
- get {
- return ResourceManager.GetString("Settings_EmergencyDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Maximum size for files to process..
- ///
- public static string Settings_FileSizeDesc {
- get {
- return ResourceManager.GetString("Settings_FileSizeDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Input File Size Limit.
- ///
- public static string Settings_FileSizeLimit {
- get {
- return ResourceManager.GetString("Settings_FileSizeLimit", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File Processing Timeout.
- ///
- public static string Settings_FileTimeout {
- get {
- return ResourceManager.GetString("Settings_FileTimeout", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cancel if a single file takes too long..
- ///
- public static string Settings_FileTimeoutDesc {
- get {
- return ResourceManager.GetString("Settings_FileTimeoutDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Font.
- ///
- public static string Settings_Font {
- get {
- return ResourceManager.GetString("Settings_Font", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Font size (pt).
- ///
- public static string Settings_FontSize {
- get {
- return ResourceManager.GetString("Settings_FontSize", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Time (seconds) before considering the app frozen..
- ///
- public static string Settings_ForceQuitDesc {
- get {
- return ResourceManager.GetString("Settings_ForceQuitDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Force Quit Timeout.
- ///
- public static string Settings_ForceQuitTimeout {
- get {
- return ResourceManager.GetString("Settings_ForceQuitTimeout", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Free Memory.
- ///
- public static string Settings_FreeMemory {
- get {
- return ResourceManager.GetString("Settings_FreeMemory", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Force a garbage collection to free up memory..
- ///
- public static string Settings_FreeMemoryDesc {
- get {
- return ResourceManager.GetString("Settings_FreeMemoryDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Language.
- ///
- public static string Settings_Language {
- get {
- return ResourceManager.GetString("Settings_Language", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Processing Limits.
- ///
- public static string Settings_Limits {
- get {
- return ResourceManager.GetString("Settings_Limits", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Prevent accidental changes. Only Hash Masking remains adjustable..
- ///
- public static string Settings_LockDesc {
- get {
- return ResourceManager.GetString("Settings_LockDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Lock as default font.
- ///
- public static string Settings_LockFont {
- get {
- return ResourceManager.GetString("Settings_LockFont", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Lock Settings (Save as Default).
- ///
- public static string Settings_LockSettings {
- get {
- return ResourceManager.GetString("Settings_LockSettings", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Lock this theme as default.
- ///
- public static string Settings_LockTheme {
- get {
- return ResourceManager.GetString("Settings_LockTheme", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Mask Hash Values (Security).
- ///
- public static string Settings_MaskHash {
- get {
- return ResourceManager.GetString("Settings_MaskHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Max Files per Folder Scan.
- ///
- public static string Settings_MaxFileCount {
- get {
- return ResourceManager.GetString("Settings_MaxFileCount", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Limit the number of files added from a folder to prevent performance issues..
- ///
- public static string Settings_MaxFileCountDesc {
- get {
- return ResourceManager.GetString("Settings_MaxFileCountDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Max Folders per Click.
- ///
- public static string Settings_MaxFolderCount {
- get {
- return ResourceManager.GetString("Settings_MaxFolderCount", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Limit the number of folders selected at once..
- ///
- public static string Settings_MaxFolderCountDesc {
- get {
- return ResourceManager.GetString("Settings_MaxFolderCountDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Privacy & Security.
- ///
- public static string Settings_Other {
- get {
- return ResourceManager.GetString("Settings_Other", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Reset Settings.
- ///
- public static string Settings_Reset {
- get {
- return ResourceManager.GetString("Settings_Reset", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Reset All Settings.
- ///
- public static string Settings_ResetAll {
- get {
- return ResourceManager.GetString("Settings_ResetAll", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Restore to factory defaults..
- ///
- public static string Settings_ResetDesc {
- get {
- return ResourceManager.GetString("Settings_ResetDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to UI Scale.
- ///
- public static string Settings_Scale {
- get {
- return ResourceManager.GetString("Settings_Scale", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Set as Default.
- ///
- public static string Settings_SetDefault {
- get {
- return ResourceManager.GetString("Settings_SetDefault", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Show Path.
- ///
- public static string Settings_ShowPath {
- get {
- return ResourceManager.GetString("Settings_ShowPath", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Show Read/Write Speed.
- ///
- public static string Settings_ShowSpeed {
- get {
- return ResourceManager.GetString("Settings_ShowSpeed", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Display real-time transfer speed during hash operations..
- ///
- public static string Settings_ShowSpeedDesc {
- get {
- return ResourceManager.GetString("Settings_ShowSpeedDesc", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Theme.
- ///
- public static string Settings_Theme {
- get {
- return ResourceManager.GetString("Settings_Theme", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Dark.
- ///
- public static string Settings_ThemeDark {
- get {
- return ResourceManager.GetString("Settings_ThemeDark", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Light.
- ///
- public static string Settings_ThemeLight {
- get {
- return ResourceManager.GetString("Settings_ThemeLight", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Theme style.
- ///
- public static string Settings_ThemeStyle {
- get {
- return ResourceManager.GetString("Settings_ThemeStyle", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to System.
- ///
- public static string Settings_ThemeSystem {
- get {
- return ResourceManager.GetString("Settings_ThemeSystem", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Light/Dark.
- ///
- public static string Settings_ThemeVariant {
- get {
- return ResourceManager.GetString("Settings_ThemeVariant", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to All Sizes.
- ///
- public static string Size_All {
- get {
- return ResourceManager.GetString("Size_All", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Extra Large (> 1GB).
- ///
- public static string Size_ExtraLarge {
- get {
- return ResourceManager.GetString("Size_ExtraLarge", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Large (100MB - 1GB).
- ///
- public static string Size_Large {
- get {
- return ResourceManager.GetString("Size_Large", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Medium (1MB - 100MB).
- ///
- public static string Size_Medium {
- get {
- return ResourceManager.GetString("Size_Medium", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Small (< 1MB).
- ///
- public static string Size_Small {
- get {
- return ResourceManager.GetString("Size_Small", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cancelled.
- ///
- public static string Status_Cancelled {
- get {
- return ResourceManager.GetString("Status_Cancelled", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Update check error: {0}.
- ///
- public static string Status_CheckError {
- get {
- return ResourceManager.GetString("Status_CheckError", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Checking for updates....
- ///
- public static string Status_Checking {
- get {
- return ResourceManager.GetString("Status_Checking", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Compressed!.
- ///
- public static string Status_Compressed {
- get {
- return ResourceManager.GetString("Status_Compressed", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hash Computing....
- ///
- public static string Status_Computing {
- get {
- return ResourceManager.GetString("Status_Computing", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Completed.
- ///
- public static string Status_Done {
- get {
- return ResourceManager.GetString("Status_Done", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hash file name mismatch!.
- ///
- public static string Status_DropHashMismatch {
- get {
- return ResourceManager.GetString("Status_DropHashMismatch", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hash file dropped successfully.
- ///
- public static string Status_DropHashSuccess {
- get {
- return ResourceManager.GetString("Status_DropHashSuccess", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File does not contain a hash!.
- ///
- public static string Status_DropNoHash {
- get {
- return ResourceManager.GetString("Status_DropNoHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Error: {0}.
- ///
- public static string Status_Error {
- get {
- return ResourceManager.GetString("Status_Error", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed.
- ///
- public static string Status_Failure {
- get {
- return ResourceManager.GetString("Status_Failure", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hash file loaded.
- ///
- public static string Status_HashFileLoaded {
- get {
- return ResourceManager.GetString("Status_HashFileLoaded", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hash file name mismatch!.
- ///
- public static string Status_HashFileMismatch {
- get {
- return ResourceManager.GetString("Status_HashFileMismatch", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Installation error: {0}.
- ///
- public static string Status_InstallError {
- get {
- return ResourceManager.GetString("Status_InstallError", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Downloading and installing....
- ///
- public static string Status_Installing {
- get {
- return ResourceManager.GetString("Status_Installing", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to MISMATCH!.
- ///
- public static string Status_Invalid {
- get {
- return ResourceManager.GetString("Status_Invalid", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to You are using the latest version..
- ///
- public static string Status_Latest {
- get {
- return ResourceManager.GetString("Status_Latest", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Original file lost!.
- ///
- public static string Status_LostOriginal {
- get {
- return ResourceManager.GetString("Status_LostOriginal", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hash value missing (Enter or load hash file).
- ///
- public static string Status_MissingHash {
- get {
- return ResourceManager.GetString("Status_MissingHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Original file missing!.
- ///
- public static string Status_MissingOriginal {
- get {
- return ResourceManager.GetString("Status_MissingOriginal", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to New version detected!.
- ///
- public static string Status_NewVersion {
- get {
- return ResourceManager.GetString("Status_NewVersion", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File does not contain a hash!.
- ///
- public static string Status_NoHashFound {
- get {
- return ResourceManager.GetString("Status_NoHashFound", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Processing ({0})....
- ///
- public static string Status_Processing {
- get {
- return ResourceManager.GetString("Status_Processing", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Processing.
- ///
- public static string Status_Processing_Filter {
- get {
- return ResourceManager.GetString("Status_Processing_Filter", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File read error.
- ///
- public static string Status_ReadError {
- get {
- return ResourceManager.GetString("Status_ReadError", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Ready (From .hash file).
- ///
- public static string Status_ReadyFromHash {
- get {
- return ResourceManager.GetString("Status_ReadyFromHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Saved!.
- ///
- public static string Status_Saved {
- get {
- return ResourceManager.GetString("Status_Saved", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to VALID.
- ///
- public static string Status_Valid {
- get {
- return ResourceManager.GetString("Status_Valid", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Waiting for hash/input....
- ///
- public static string Status_Waiting {
- get {
- return ResourceManager.GetString("Status_Waiting", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Browse Hash.
- ///
- public static string Tip_BrowseHash {
- get {
- return ResourceManager.GetString("Tip_BrowseHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Clear Hash.
- ///
- public static string Tip_ClearHash {
- get {
- return ResourceManager.GetString("Tip_ClearHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Compute.
- ///
- public static string Tip_Compute {
- get {
- return ResourceManager.GetString("Tip_Compute", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Copy Hash.
- ///
- public static string Tip_CopyHash {
- get {
- return ResourceManager.GetString("Tip_CopyHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Copy Path.
- ///
- public static string Tip_CopyPath {
- get {
- return ResourceManager.GetString("Tip_CopyPath", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to GitHub Profile.
- ///
- public static string Tip_GitHubProfile {
- get {
- return ResourceManager.GetString("Tip_GitHubProfile", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hash Visibility.
- ///
- public static string Tip_HashVisibility {
- get {
- return ResourceManager.GetString("Tip_HashVisibility", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hide Hash.
- ///
- public static string Tip_HideHash {
- get {
- return ResourceManager.GetString("Tip_HideHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Remove File.
- ///
- public static string Tip_RemoveFile {
- get {
- return ResourceManager.GetString("Tip_RemoveFile", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Show Hash.
- ///
- public static string Tip_ShowHash {
- get {
- return ResourceManager.GetString("Tip_ShowHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Stop.
- ///
- public static string Tip_Stop {
- get {
- return ResourceManager.GetString("Tip_Stop", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Verify.
- ///
- public static string Tip_Verify {
- get {
- return ResourceManager.GetString("Tip_Verify", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to About.
- ///
- public static string Title_About {
- get {
- return ResourceManager.GetString("Title_About", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Batch Verification.
- ///
- public static string Title_CheckHash {
- get {
- return ResourceManager.GetString("Title_CheckHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Generate Hash & Compress.
- ///
- public static string Title_CreateHash {
- get {
- return ResourceManager.GetString("Title_CreateHash", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Developer Version Warning.
- ///
- public static string Title_Disclaimer {
- get {
- return ResourceManager.GetString("Title_Disclaimer", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Check for Updates.
- ///
- public static string Title_Update {
- get {
- return ResourceManager.GetString("Title_Update", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Seconds.
- ///
- public static string Unit_Seconds {
- get {
- return ResourceManager.GetString("Unit_Seconds", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Paste/Drop here....
- ///
- public static string Watermark_PasteDrop {
- get {
- return ResourceManager.GetString("Watermark_PasteDrop", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Search by name....
- ///
- public static string Watermark_Search {
- get {
- return ResourceManager.GetString("Watermark_Search", resourceCulture);
- }
- }
- }
-}
diff --git a/README.md b/README.md
index a7ae6cc..a5d89da 100644
--- a/README.md
+++ b/README.md
@@ -14,27 +14,27 @@ HashTool was born out of pure laziness — a simple, intuitive GUI to do the job
## Screenshots
-
+
*Generate Hash – batch processing with multiple export options*
-
+
*Verify Hash – smart detection and batch verification*
-
+
*Settings – themes, localization, performance tweaks*
-
+
*Settings – Windows Admin Mode, Hash Masking, Developer Mode, etc.*
- *About – version info and links*
+ *About – version info and links*
-
+
*Update – check for latest version*
-
+
*Developer Mode – extra tools for power users*
- *Dark Mode – because who doesn't love dark mode?*
+ *Dark Mode – because who doesn't love dark mode?*
## Features
diff --git a/Assets/screenshots/about.png b/docs/images/about.png
similarity index 100%
rename from Assets/screenshots/about.png
rename to docs/images/about.png
diff --git a/Assets/screenshots/dark.png b/docs/images/dark.png
similarity index 100%
rename from Assets/screenshots/dark.png
rename to docs/images/dark.png
diff --git a/Assets/screenshots/dev.png b/docs/images/dev.png
similarity index 100%
rename from Assets/screenshots/dev.png
rename to docs/images/dev.png
diff --git a/Assets/screenshots/generate.png b/docs/images/generate.png
similarity index 100%
rename from Assets/screenshots/generate.png
rename to docs/images/generate.png
diff --git a/Assets/screenshots/setting_screenshot_1.png b/docs/images/setting_screenshot_1.png
similarity index 100%
rename from Assets/screenshots/setting_screenshot_1.png
rename to docs/images/setting_screenshot_1.png
diff --git a/Assets/screenshots/setting_screenshot_2.png b/docs/images/setting_screenshot_2.png
similarity index 100%
rename from Assets/screenshots/setting_screenshot_2.png
rename to docs/images/setting_screenshot_2.png
diff --git a/Assets/screenshots/update.png b/docs/images/update.png
similarity index 100%
rename from Assets/screenshots/update.png
rename to docs/images/update.png
diff --git a/Assets/screenshots/verify.png b/docs/images/verify.png
similarity index 100%
rename from Assets/screenshots/verify.png
rename to docs/images/verify.png
diff --git a/global.json b/global.json
new file mode 100644
index 0000000..786b012
--- /dev/null
+++ b/global.json
@@ -0,0 +1,10 @@
+{
+ "sdk": {
+ "version": "10.0.400",
+ "rollForward": "latestFeature",
+ "allowPrerelease": false
+ },
+ "test": {
+ "runner": "Microsoft.Testing.Platform"
+ }
+}
diff --git a/App.axaml b/src/HashTool.App/App.axaml
similarity index 95%
rename from App.axaml
rename to src/HashTool.App/App.axaml
index 84e58d0..f929659 100644
--- a/App.axaml
+++ b/src/HashTool.App/App.axaml
@@ -1,8 +1,8 @@
diff --git a/App.axaml.cs b/src/HashTool.App/App.axaml.cs
similarity index 93%
rename from App.axaml.cs
rename to src/HashTool.App/App.axaml.cs
index 1ded5bb..f33e58b 100644
--- a/App.axaml.cs
+++ b/src/HashTool.App/App.axaml.cs
@@ -5,11 +5,11 @@ using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Data.Core.Plugins;
using Avalonia.Markup.Xaml;
-using CheckHash.Services;
-using CheckHash.ViewModels;
-using CheckHash.Views;
+using HashTool.App.Services;
+using HashTool.App.ViewModels;
+using HashTool.App.Views;
-namespace CheckHash;
+namespace HashTool.App;
public class App : Application
{
diff --git a/Assets/icon/favicon.ico b/src/HashTool.App/Assets/icon/favicon.ico
similarity index 100%
rename from Assets/icon/favicon.ico
rename to src/HashTool.App/Assets/icon/favicon.ico
diff --git a/Assets/icon/icons.icns b/src/HashTool.App/Assets/icon/icons.icns
similarity index 100%
rename from Assets/icon/icons.icns
rename to src/HashTool.App/Assets/icon/icons.icns
diff --git a/Assets/logo_in_app.png b/src/HashTool.App/Assets/logo_in_app.png
similarity index 100%
rename from Assets/logo_in_app.png
rename to src/HashTool.App/Assets/logo_in_app.png
diff --git a/Converters/AlgorithmEnabledConverter.cs b/src/HashTool.App/Converters/AlgorithmEnabledConverter.cs
similarity index 92%
rename from Converters/AlgorithmEnabledConverter.cs
rename to src/HashTool.App/Converters/AlgorithmEnabledConverter.cs
index 3a6c60c..035aa7b 100644
--- a/Converters/AlgorithmEnabledConverter.cs
+++ b/src/HashTool.App/Converters/AlgorithmEnabledConverter.cs
@@ -2,9 +2,9 @@ using System;
using System.Collections.Generic;
using System.Globalization;
using Avalonia.Data.Converters;
-using CheckHash.Models;
+using HashTool.App.Models;
-namespace CheckHash.Converters;
+namespace HashTool.App.Converters;
public class AlgorithmEnabledConverter : IMultiValueConverter
{
diff --git a/Converters/ComputeButtonEnabledConverter.cs b/src/HashTool.App/Converters/ComputeButtonEnabledConverter.cs
similarity index 94%
rename from Converters/ComputeButtonEnabledConverter.cs
rename to src/HashTool.App/Converters/ComputeButtonEnabledConverter.cs
index 98a682b..d6aab78 100644
--- a/Converters/ComputeButtonEnabledConverter.cs
+++ b/src/HashTool.App/Converters/ComputeButtonEnabledConverter.cs
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Globalization;
using Avalonia.Data.Converters;
-namespace CheckHash.Converters;
+namespace HashTool.App.Converters;
public class ComputeButtonEnabledConverter : IMultiValueConverter
{
diff --git a/Converters/CountToVisibilityConverter.cs b/src/HashTool.App/Converters/CountToVisibilityConverter.cs
similarity index 93%
rename from Converters/CountToVisibilityConverter.cs
rename to src/HashTool.App/Converters/CountToVisibilityConverter.cs
index df54237..2666228 100644
--- a/Converters/CountToVisibilityConverter.cs
+++ b/src/HashTool.App/Converters/CountToVisibilityConverter.cs
@@ -3,7 +3,7 @@ using System.Globalization;
using Avalonia.Data;
using Avalonia.Data.Converters;
-namespace CheckHash.Converters;
+namespace HashTool.App.Converters;
public class CountToVisibilityConverter : IValueConverter
{
diff --git a/Converters/FileSizeFilterConverter.cs b/src/HashTool.App/Converters/FileSizeFilterConverter.cs
similarity index 91%
rename from Converters/FileSizeFilterConverter.cs
rename to src/HashTool.App/Converters/FileSizeFilterConverter.cs
index 142f149..514b9bd 100644
--- a/Converters/FileSizeFilterConverter.cs
+++ b/src/HashTool.App/Converters/FileSizeFilterConverter.cs
@@ -1,10 +1,10 @@
using System;
using System.Globalization;
using Avalonia.Data.Converters;
-using CheckHash.Models;
-using CheckHash.Services;
+using HashTool.App.Models;
+using HashTool.App.Services;
-namespace CheckHash.Converters;
+namespace HashTool.App.Converters;
public class FileSizeFilterConverter : IValueConverter
{
diff --git a/Converters/FileStatusConverter.cs b/src/HashTool.App/Converters/FileStatusConverter.cs
similarity index 92%
rename from Converters/FileStatusConverter.cs
rename to src/HashTool.App/Converters/FileStatusConverter.cs
index 9fbc0b0..ced61eb 100644
--- a/Converters/FileStatusConverter.cs
+++ b/src/HashTool.App/Converters/FileStatusConverter.cs
@@ -1,10 +1,10 @@
using System;
using System.Globalization;
using Avalonia.Data.Converters;
-using CheckHash.Models;
-using CheckHash.Services;
+using HashTool.App.Models;
+using HashTool.App.Services;
-namespace CheckHash.Converters;
+namespace HashTool.App.Converters;
public class FileStatusConverter : IValueConverter
{
diff --git a/Converters/FontNameConverter.cs b/src/HashTool.App/Converters/FontNameConverter.cs
similarity index 96%
rename from Converters/FontNameConverter.cs
rename to src/HashTool.App/Converters/FontNameConverter.cs
index 6660f34..9b7678f 100644
--- a/Converters/FontNameConverter.cs
+++ b/src/HashTool.App/Converters/FontNameConverter.cs
@@ -3,7 +3,7 @@ using System.Globalization;
using Avalonia.Data.Converters;
using Avalonia.Media;
-namespace CheckHash.Converters;
+namespace HashTool.App.Converters;
public class FontNameConverter : IValueConverter
{
diff --git a/Converters/HashMaskConverter.cs b/src/HashTool.App/Converters/HashMaskConverter.cs
similarity index 97%
rename from Converters/HashMaskConverter.cs
rename to src/HashTool.App/Converters/HashMaskConverter.cs
index a65a5b6..69be2d5 100644
--- a/Converters/HashMaskConverter.cs
+++ b/src/HashTool.App/Converters/HashMaskConverter.cs
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Globalization;
using Avalonia.Data.Converters;
-namespace CheckHash.Converters;
+namespace HashTool.App.Converters;
public class HashMaskConverter : IMultiValueConverter
{
diff --git a/src/HashTool.App/HashTool.App.csproj b/src/HashTool.App/HashTool.App.csproj
new file mode 100644
index 0000000..165e492
--- /dev/null
+++ b/src/HashTool.App/HashTool.App.csproj
@@ -0,0 +1,129 @@
+
+
+ WinExe
+ HashTool.App
+
+ CheckHash
+ Hash Tool
+ Generate, verify and manage file hashes.
+ app.manifest
+ Assets\icon\favicon.ico
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+ All
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ icons.icns
+ PreserveNewest
+ Included
+
+
+
diff --git a/Lang/Languages.json b/src/HashTool.App/Lang/Languages.json
similarity index 100%
rename from Lang/Languages.json
rename to src/HashTool.App/Lang/Languages.json
diff --git a/Lang/Resources.ar.resx b/src/HashTool.App/Lang/Resources.ar.resx
similarity index 100%
rename from Lang/Resources.ar.resx
rename to src/HashTool.App/Lang/Resources.ar.resx
diff --git a/Lang/Resources.bg-bg.resx b/src/HashTool.App/Lang/Resources.bg-bg.resx
similarity index 100%
rename from Lang/Resources.bg-bg.resx
rename to src/HashTool.App/Lang/Resources.bg-bg.resx
diff --git a/Lang/Resources.bn-bd.resx b/src/HashTool.App/Lang/Resources.bn-bd.resx
similarity index 100%
rename from Lang/Resources.bn-bd.resx
rename to src/HashTool.App/Lang/Resources.bn-bd.resx
diff --git a/Lang/Resources.bs-latn-ba.resx b/src/HashTool.App/Lang/Resources.bs-latn-ba.resx
similarity index 100%
rename from Lang/Resources.bs-latn-ba.resx
rename to src/HashTool.App/Lang/Resources.bs-latn-ba.resx
diff --git a/Lang/Resources.cs-cz.resx b/src/HashTool.App/Lang/Resources.cs-cz.resx
similarity index 100%
rename from Lang/Resources.cs-cz.resx
rename to src/HashTool.App/Lang/Resources.cs-cz.resx
diff --git a/Lang/Resources.da-dk.resx b/src/HashTool.App/Lang/Resources.da-dk.resx
similarity index 100%
rename from Lang/Resources.da-dk.resx
rename to src/HashTool.App/Lang/Resources.da-dk.resx
diff --git a/Lang/Resources.de-at.resx b/src/HashTool.App/Lang/Resources.de-at.resx
similarity index 100%
rename from Lang/Resources.de-at.resx
rename to src/HashTool.App/Lang/Resources.de-at.resx
diff --git a/Lang/Resources.de-ch.resx b/src/HashTool.App/Lang/Resources.de-ch.resx
similarity index 100%
rename from Lang/Resources.de-ch.resx
rename to src/HashTool.App/Lang/Resources.de-ch.resx
diff --git a/Lang/Resources.de-de.resx b/src/HashTool.App/Lang/Resources.de-de.resx
similarity index 100%
rename from Lang/Resources.de-de.resx
rename to src/HashTool.App/Lang/Resources.de-de.resx
diff --git a/Lang/Resources.dv-mv.resx b/src/HashTool.App/Lang/Resources.dv-mv.resx
similarity index 100%
rename from Lang/Resources.dv-mv.resx
rename to src/HashTool.App/Lang/Resources.dv-mv.resx
diff --git a/Lang/Resources.dz-bt.resx b/src/HashTool.App/Lang/Resources.dz-bt.resx
similarity index 100%
rename from Lang/Resources.dz-bt.resx
rename to src/HashTool.App/Lang/Resources.dz-bt.resx
diff --git a/Lang/Resources.el-cy.resx b/src/HashTool.App/Lang/Resources.el-cy.resx
similarity index 100%
rename from Lang/Resources.el-cy.resx
rename to src/HashTool.App/Lang/Resources.el-cy.resx
diff --git a/Lang/Resources.el-gr.resx b/src/HashTool.App/Lang/Resources.el-gr.resx
similarity index 100%
rename from Lang/Resources.el-gr.resx
rename to src/HashTool.App/Lang/Resources.el-gr.resx
diff --git a/Lang/Resources.en-gb.resx b/src/HashTool.App/Lang/Resources.en-gb.resx
similarity index 100%
rename from Lang/Resources.en-gb.resx
rename to src/HashTool.App/Lang/Resources.en-gb.resx
diff --git a/Lang/Resources.en-in.resx b/src/HashTool.App/Lang/Resources.en-in.resx
similarity index 100%
rename from Lang/Resources.en-in.resx
rename to src/HashTool.App/Lang/Resources.en-in.resx
diff --git a/Lang/Resources.en-sg.resx b/src/HashTool.App/Lang/Resources.en-sg.resx
similarity index 100%
rename from Lang/Resources.en-sg.resx
rename to src/HashTool.App/Lang/Resources.en-sg.resx
diff --git a/Lang/Resources.en-us.resx b/src/HashTool.App/Lang/Resources.en-us.resx
similarity index 100%
rename from Lang/Resources.en-us.resx
rename to src/HashTool.App/Lang/Resources.en-us.resx
diff --git a/Lang/Resources.es-419.resx b/src/HashTool.App/Lang/Resources.es-419.resx
similarity index 100%
rename from Lang/Resources.es-419.resx
rename to src/HashTool.App/Lang/Resources.es-419.resx
diff --git a/Lang/Resources.es-es.resx b/src/HashTool.App/Lang/Resources.es-es.resx
similarity index 100%
rename from Lang/Resources.es-es.resx
rename to src/HashTool.App/Lang/Resources.es-es.resx
diff --git a/Lang/Resources.et-ee.resx b/src/HashTool.App/Lang/Resources.et-ee.resx
similarity index 100%
rename from Lang/Resources.et-ee.resx
rename to src/HashTool.App/Lang/Resources.et-ee.resx
diff --git a/Lang/Resources.fa-ir.resx b/src/HashTool.App/Lang/Resources.fa-ir.resx
similarity index 100%
rename from Lang/Resources.fa-ir.resx
rename to src/HashTool.App/Lang/Resources.fa-ir.resx
diff --git a/Lang/Resources.fi-fi.resx b/src/HashTool.App/Lang/Resources.fi-fi.resx
similarity index 100%
rename from Lang/Resources.fi-fi.resx
rename to src/HashTool.App/Lang/Resources.fi-fi.resx
diff --git a/Lang/Resources.fil-ph.resx b/src/HashTool.App/Lang/Resources.fil-ph.resx
similarity index 100%
rename from Lang/Resources.fil-ph.resx
rename to src/HashTool.App/Lang/Resources.fil-ph.resx
diff --git a/Lang/Resources.fr-fr.resx b/src/HashTool.App/Lang/Resources.fr-fr.resx
similarity index 100%
rename from Lang/Resources.fr-fr.resx
rename to src/HashTool.App/Lang/Resources.fr-fr.resx
diff --git a/Lang/Resources.he-il.resx b/src/HashTool.App/Lang/Resources.he-il.resx
similarity index 100%
rename from Lang/Resources.he-il.resx
rename to src/HashTool.App/Lang/Resources.he-il.resx
diff --git a/Lang/Resources.hi-in.resx b/src/HashTool.App/Lang/Resources.hi-in.resx
similarity index 100%
rename from Lang/Resources.hi-in.resx
rename to src/HashTool.App/Lang/Resources.hi-in.resx
diff --git a/Lang/Resources.hr-hr.resx b/src/HashTool.App/Lang/Resources.hr-hr.resx
similarity index 100%
rename from Lang/Resources.hr-hr.resx
rename to src/HashTool.App/Lang/Resources.hr-hr.resx
diff --git a/Lang/Resources.hu-hu.resx b/src/HashTool.App/Lang/Resources.hu-hu.resx
similarity index 100%
rename from Lang/Resources.hu-hu.resx
rename to src/HashTool.App/Lang/Resources.hu-hu.resx
diff --git a/Lang/Resources.id-id.resx b/src/HashTool.App/Lang/Resources.id-id.resx
similarity index 100%
rename from Lang/Resources.id-id.resx
rename to src/HashTool.App/Lang/Resources.id-id.resx
diff --git a/Lang/Resources.is-is.resx b/src/HashTool.App/Lang/Resources.is-is.resx
similarity index 100%
rename from Lang/Resources.is-is.resx
rename to src/HashTool.App/Lang/Resources.is-is.resx
diff --git a/Lang/Resources.it-it.resx b/src/HashTool.App/Lang/Resources.it-it.resx
similarity index 100%
rename from Lang/Resources.it-it.resx
rename to src/HashTool.App/Lang/Resources.it-it.resx
diff --git a/Lang/Resources.ja-jp.resx b/src/HashTool.App/Lang/Resources.ja-jp.resx
similarity index 100%
rename from Lang/Resources.ja-jp.resx
rename to src/HashTool.App/Lang/Resources.ja-jp.resx
diff --git a/Lang/Resources.kk-kz.resx b/src/HashTool.App/Lang/Resources.kk-kz.resx
similarity index 100%
rename from Lang/Resources.kk-kz.resx
rename to src/HashTool.App/Lang/Resources.kk-kz.resx
diff --git a/Lang/Resources.km-kh.resx b/src/HashTool.App/Lang/Resources.km-kh.resx
similarity index 100%
rename from Lang/Resources.km-kh.resx
rename to src/HashTool.App/Lang/Resources.km-kh.resx
diff --git a/Lang/Resources.ko-kr.resx b/src/HashTool.App/Lang/Resources.ko-kr.resx
similarity index 100%
rename from Lang/Resources.ko-kr.resx
rename to src/HashTool.App/Lang/Resources.ko-kr.resx
diff --git a/Lang/Resources.ky-kg.resx b/src/HashTool.App/Lang/Resources.ky-kg.resx
similarity index 100%
rename from Lang/Resources.ky-kg.resx
rename to src/HashTool.App/Lang/Resources.ky-kg.resx
diff --git a/Lang/Resources.lo-la.resx b/src/HashTool.App/Lang/Resources.lo-la.resx
similarity index 100%
rename from Lang/Resources.lo-la.resx
rename to src/HashTool.App/Lang/Resources.lo-la.resx
diff --git a/Lang/Resources.lt-lt.resx b/src/HashTool.App/Lang/Resources.lt-lt.resx
similarity index 100%
rename from Lang/Resources.lt-lt.resx
rename to src/HashTool.App/Lang/Resources.lt-lt.resx
diff --git a/Lang/Resources.lv-lv.resx b/src/HashTool.App/Lang/Resources.lv-lv.resx
similarity index 100%
rename from Lang/Resources.lv-lv.resx
rename to src/HashTool.App/Lang/Resources.lv-lv.resx
diff --git a/Lang/Resources.mk-mk.resx b/src/HashTool.App/Lang/Resources.mk-mk.resx
similarity index 100%
rename from Lang/Resources.mk-mk.resx
rename to src/HashTool.App/Lang/Resources.mk-mk.resx
diff --git a/Lang/Resources.mn-mn.resx b/src/HashTool.App/Lang/Resources.mn-mn.resx
similarity index 100%
rename from Lang/Resources.mn-mn.resx
rename to src/HashTool.App/Lang/Resources.mn-mn.resx
diff --git a/Lang/Resources.ms-my.resx b/src/HashTool.App/Lang/Resources.ms-my.resx
similarity index 100%
rename from Lang/Resources.ms-my.resx
rename to src/HashTool.App/Lang/Resources.ms-my.resx
diff --git a/Lang/Resources.my-mm.resx b/src/HashTool.App/Lang/Resources.my-mm.resx
similarity index 100%
rename from Lang/Resources.my-mm.resx
rename to src/HashTool.App/Lang/Resources.my-mm.resx
diff --git a/Lang/Resources.nb-no.resx b/src/HashTool.App/Lang/Resources.nb-no.resx
similarity index 100%
rename from Lang/Resources.nb-no.resx
rename to src/HashTool.App/Lang/Resources.nb-no.resx
diff --git a/Lang/Resources.ne-np.resx b/src/HashTool.App/Lang/Resources.ne-np.resx
similarity index 100%
rename from Lang/Resources.ne-np.resx
rename to src/HashTool.App/Lang/Resources.ne-np.resx
diff --git a/Lang/Resources.nl-be.resx b/src/HashTool.App/Lang/Resources.nl-be.resx
similarity index 100%
rename from Lang/Resources.nl-be.resx
rename to src/HashTool.App/Lang/Resources.nl-be.resx
diff --git a/Lang/Resources.nl-nl.resx b/src/HashTool.App/Lang/Resources.nl-nl.resx
similarity index 100%
rename from Lang/Resources.nl-nl.resx
rename to src/HashTool.App/Lang/Resources.nl-nl.resx
diff --git a/Lang/Resources.pl-pl.resx b/src/HashTool.App/Lang/Resources.pl-pl.resx
similarity index 100%
rename from Lang/Resources.pl-pl.resx
rename to src/HashTool.App/Lang/Resources.pl-pl.resx
diff --git a/Lang/Resources.ps-af.resx b/src/HashTool.App/Lang/Resources.ps-af.resx
similarity index 100%
rename from Lang/Resources.ps-af.resx
rename to src/HashTool.App/Lang/Resources.ps-af.resx
diff --git a/Lang/Resources.pt-br.resx b/src/HashTool.App/Lang/Resources.pt-br.resx
similarity index 100%
rename from Lang/Resources.pt-br.resx
rename to src/HashTool.App/Lang/Resources.pt-br.resx
diff --git a/Lang/Resources.resx b/src/HashTool.App/Lang/Resources.resx
similarity index 100%
rename from Lang/Resources.resx
rename to src/HashTool.App/Lang/Resources.resx
diff --git a/Lang/Resources.ro-ro.resx b/src/HashTool.App/Lang/Resources.ro-ro.resx
similarity index 100%
rename from Lang/Resources.ro-ro.resx
rename to src/HashTool.App/Lang/Resources.ro-ro.resx
diff --git a/Lang/Resources.ru-ru.resx b/src/HashTool.App/Lang/Resources.ru-ru.resx
similarity index 100%
rename from Lang/Resources.ru-ru.resx
rename to src/HashTool.App/Lang/Resources.ru-ru.resx
diff --git a/Lang/Resources.si-lk.resx b/src/HashTool.App/Lang/Resources.si-lk.resx
similarity index 100%
rename from Lang/Resources.si-lk.resx
rename to src/HashTool.App/Lang/Resources.si-lk.resx
diff --git a/Lang/Resources.sk-sk.resx b/src/HashTool.App/Lang/Resources.sk-sk.resx
similarity index 100%
rename from Lang/Resources.sk-sk.resx
rename to src/HashTool.App/Lang/Resources.sk-sk.resx
diff --git a/Lang/Resources.sl-si.resx b/src/HashTool.App/Lang/Resources.sl-si.resx
similarity index 100%
rename from Lang/Resources.sl-si.resx
rename to src/HashTool.App/Lang/Resources.sl-si.resx
diff --git a/Lang/Resources.sq-al.resx b/src/HashTool.App/Lang/Resources.sq-al.resx
similarity index 100%
rename from Lang/Resources.sq-al.resx
rename to src/HashTool.App/Lang/Resources.sq-al.resx
diff --git a/Lang/Resources.sr-cyrl-rs.resx b/src/HashTool.App/Lang/Resources.sr-cyrl-rs.resx
similarity index 100%
rename from Lang/Resources.sr-cyrl-rs.resx
rename to src/HashTool.App/Lang/Resources.sr-cyrl-rs.resx
diff --git a/Lang/Resources.sv-se.resx b/src/HashTool.App/Lang/Resources.sv-se.resx
similarity index 100%
rename from Lang/Resources.sv-se.resx
rename to src/HashTool.App/Lang/Resources.sv-se.resx
diff --git a/Lang/Resources.tg-tj.resx b/src/HashTool.App/Lang/Resources.tg-tj.resx
similarity index 100%
rename from Lang/Resources.tg-tj.resx
rename to src/HashTool.App/Lang/Resources.tg-tj.resx
diff --git a/Lang/Resources.th-th.resx b/src/HashTool.App/Lang/Resources.th-th.resx
similarity index 100%
rename from Lang/Resources.th-th.resx
rename to src/HashTool.App/Lang/Resources.th-th.resx
diff --git a/Lang/Resources.tk-tm.resx b/src/HashTool.App/Lang/Resources.tk-tm.resx
similarity index 100%
rename from Lang/Resources.tk-tm.resx
rename to src/HashTool.App/Lang/Resources.tk-tm.resx
diff --git a/Lang/Resources.tr-tr.resx b/src/HashTool.App/Lang/Resources.tr-tr.resx
similarity index 100%
rename from Lang/Resources.tr-tr.resx
rename to src/HashTool.App/Lang/Resources.tr-tr.resx
diff --git a/Lang/Resources.uk-ua.resx b/src/HashTool.App/Lang/Resources.uk-ua.resx
similarity index 100%
rename from Lang/Resources.uk-ua.resx
rename to src/HashTool.App/Lang/Resources.uk-ua.resx
diff --git a/Lang/Resources.vi-vn.resx b/src/HashTool.App/Lang/Resources.vi-vn.resx
similarity index 100%
rename from Lang/Resources.vi-vn.resx
rename to src/HashTool.App/Lang/Resources.vi-vn.resx
diff --git a/Lang/Resources.zh-hans-cn.resx b/src/HashTool.App/Lang/Resources.zh-hans-cn.resx
similarity index 100%
rename from Lang/Resources.zh-hans-cn.resx
rename to src/HashTool.App/Lang/Resources.zh-hans-cn.resx
diff --git a/Lang/Resources.zh-hans-sg.resx b/src/HashTool.App/Lang/Resources.zh-hans-sg.resx
similarity index 100%
rename from Lang/Resources.zh-hans-sg.resx
rename to src/HashTool.App/Lang/Resources.zh-hans-sg.resx
diff --git a/Lang/Resources.zh-hant.resx b/src/HashTool.App/Lang/Resources.zh-hant.resx
similarity index 100%
rename from Lang/Resources.zh-hant.resx
rename to src/HashTool.App/Lang/Resources.zh-hant.resx
diff --git a/Models/AppConfig.cs b/src/HashTool.App/Models/AppConfig.cs
similarity index 98%
rename from Models/AppConfig.cs
rename to src/HashTool.App/Models/AppConfig.cs
index b62d037..405d5e3 100644
--- a/Models/AppConfig.cs
+++ b/src/HashTool.App/Models/AppConfig.cs
@@ -1,4 +1,4 @@
-namespace CheckHash.Models;
+namespace HashTool.App.Models;
public class AppConfig
{
diff --git a/Models/AppTheme.cs b/src/HashTool.App/Models/AppTheme.cs
similarity index 87%
rename from Models/AppTheme.cs
rename to src/HashTool.App/Models/AppTheme.cs
index 5a9bb92..47746b6 100644
--- a/Models/AppTheme.cs
+++ b/src/HashTool.App/Models/AppTheme.cs
@@ -1,4 +1,4 @@
-namespace CheckHash.Models;
+namespace HashTool.App.Models;
public enum AppThemeStyle
{
diff --git a/Models/FileSizeFilter.cs b/src/HashTool.App/Models/FileSizeFilter.cs
similarity index 81%
rename from Models/FileSizeFilter.cs
rename to src/HashTool.App/Models/FileSizeFilter.cs
index 2fdbbd9..7ddfa6b 100644
--- a/Models/FileSizeFilter.cs
+++ b/src/HashTool.App/Models/FileSizeFilter.cs
@@ -1,4 +1,4 @@
-namespace CheckHash.Models;
+namespace HashTool.App.Models;
public enum FileSizeFilter
{
diff --git a/Models/FileSizeUnit.cs b/src/HashTool.App/Models/FileSizeUnit.cs
similarity index 71%
rename from Models/FileSizeUnit.cs
rename to src/HashTool.App/Models/FileSizeUnit.cs
index 531dbf1..04e1ce7 100644
--- a/Models/FileSizeUnit.cs
+++ b/src/HashTool.App/Models/FileSizeUnit.cs
@@ -1,4 +1,4 @@
-namespace CheckHash.Models;
+namespace HashTool.App.Models;
public enum FileSizeUnit
{
diff --git a/Models/FileStatus.cs b/src/HashTool.App/Models/FileStatus.cs
similarity index 75%
rename from Models/FileStatus.cs
rename to src/HashTool.App/Models/FileStatus.cs
index 6707550..5ae4091 100644
--- a/Models/FileStatus.cs
+++ b/src/HashTool.App/Models/FileStatus.cs
@@ -1,4 +1,4 @@
-namespace CheckHash.Models;
+namespace HashTool.App.Models;
public enum FileStatus
{
diff --git a/Program.cs b/src/HashTool.App/Program.cs
similarity index 97%
rename from Program.cs
rename to src/HashTool.App/Program.cs
index edc629f..fbe49f6 100644
--- a/Program.cs
+++ b/src/HashTool.App/Program.cs
@@ -4,10 +4,10 @@ using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Principal;
using Avalonia;
-using CheckHash.Services;
+using HashTool.App.Services;
using Velopack;
-namespace CheckHash;
+namespace HashTool.App;
internal sealed class Program
{
diff --git a/Services/ConfigurationService.cs b/src/HashTool.App/Services/ConfigurationService.cs
similarity index 98%
rename from Services/ConfigurationService.cs
rename to src/HashTool.App/Services/ConfigurationService.cs
index 87c65eb..cd69b63 100644
--- a/Services/ConfigurationService.cs
+++ b/src/HashTool.App/Services/ConfigurationService.cs
@@ -1,9 +1,9 @@
using System;
using System.IO;
using System.Text.Json;
-using CheckHash.Models;
+using HashTool.App.Models;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
using System.Threading;
diff --git a/Services/FontService.cs b/src/HashTool.App/Services/FontService.cs
similarity index 99%
rename from Services/FontService.cs
rename to src/HashTool.App/Services/FontService.cs
index cc2b5b9..aea1a07 100644
--- a/Services/FontService.cs
+++ b/src/HashTool.App/Services/FontService.cs
@@ -7,7 +7,7 @@ using Avalonia.Media;
using Avalonia.Threading;
using CommunityToolkit.Mvvm.ComponentModel;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public partial class FontService : ObservableObject
{
diff --git a/Services/LocalizationProxy.cs b/src/HashTool.App/Services/LocalizationProxy.cs
similarity index 93%
rename from Services/LocalizationProxy.cs
rename to src/HashTool.App/Services/LocalizationProxy.cs
index c11f12d..1853377 100644
--- a/Services/LocalizationProxy.cs
+++ b/src/HashTool.App/Services/LocalizationProxy.cs
@@ -1,6 +1,6 @@
using System.Collections.Generic;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public class LocalizationProxy
{
diff --git a/Services/LocalizationService.cs b/src/HashTool.App/Services/LocalizationService.cs
similarity index 96%
rename from Services/LocalizationService.cs
rename to src/HashTool.App/Services/LocalizationService.cs
index 3bf4bb0..482fa42 100644
--- a/Services/LocalizationService.cs
+++ b/src/HashTool.App/Services/LocalizationService.cs
@@ -11,7 +11,7 @@ using System.Threading;
using Avalonia.Media;
using CommunityToolkit.Mvvm.ComponentModel;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public partial class LocalizationService : ObservableObject
{
@@ -31,7 +31,7 @@ public partial class LocalizationService : ObservableObject
{
_systemUICulture = CultureInfo.CurrentUICulture;
_systemCulture = CultureInfo.CurrentCulture;
- _resourceManager = new ResourceManager("CheckHash.Lang.Resources", typeof(LocalizationService).Assembly);
+ _resourceManager = new ResourceManager("HashTool.App.Lang.Resources", typeof(LocalizationService).Assembly);
_selectedLanguage = AvailableLanguages[0];
var codeToLoad = DetectSystemLanguageCode();
@@ -66,7 +66,7 @@ public partial class LocalizationService : ObservableObject
try
{
var assembly = Assembly.GetExecutingAssembly();
- var resourceName = "CheckHash.Lang.Languages.json";
+ var resourceName = "HashTool.App.Lang.Languages.json";
using var stream = assembly.GetManifestResourceStream(resourceName);
if (stream == null)
diff --git a/Services/LoggerService.cs b/src/HashTool.App/Services/LoggerService.cs
similarity index 99%
rename from Services/LoggerService.cs
rename to src/HashTool.App/Services/LoggerService.cs
index c3082ec..852065a 100644
--- a/Services/LoggerService.cs
+++ b/src/HashTool.App/Services/LoggerService.cs
@@ -9,7 +9,7 @@ using Avalonia.Collections;
using Avalonia.Threading;
using CommunityToolkit.Mvvm.ComponentModel;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public enum LogLevel
{
diff --git a/Services/MessageBoxHelper.cs b/src/HashTool.App/Services/MessageBoxHelper.cs
similarity index 99%
rename from Services/MessageBoxHelper.cs
rename to src/HashTool.App/Services/MessageBoxHelper.cs
index f15cfc4..969864d 100644
--- a/Services/MessageBoxHelper.cs
+++ b/src/HashTool.App/Services/MessageBoxHelper.cs
@@ -9,7 +9,7 @@ using Avalonia.Media;
using Material.Icons;
using Material.Icons.Avalonia;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public enum MessageBoxIcon
{
diff --git a/Services/PreferencesService.cs b/src/HashTool.App/Services/PreferencesService.cs
similarity index 96%
rename from Services/PreferencesService.cs
rename to src/HashTool.App/Services/PreferencesService.cs
index b2ac4bd..df2b7b5 100644
--- a/Services/PreferencesService.cs
+++ b/src/HashTool.App/Services/PreferencesService.cs
@@ -1,8 +1,8 @@
using System;
-using CheckHash.Models;
+using HashTool.App.Models;
using CommunityToolkit.Mvvm.ComponentModel;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public partial class PreferencesService : ObservableObject
{
diff --git a/Services/Theme/ThemeEffect/WindowEffect.cs b/src/HashTool.App/Services/Theme/ThemeEffect/WindowEffect.cs
similarity index 97%
rename from Services/Theme/ThemeEffect/WindowEffect.cs
rename to src/HashTool.App/Services/Theme/ThemeEffect/WindowEffect.cs
index 418b671..ebb4211 100644
--- a/Services/Theme/ThemeEffect/WindowEffect.cs
+++ b/src/HashTool.App/Services/Theme/ThemeEffect/WindowEffect.cs
@@ -5,7 +5,7 @@ using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Media;
using Avalonia.Platform;
-namespace CheckHash.Services.ThemeEffects;
+namespace HashTool.App.Services.ThemeEffects;
public static class WindowEffect
{
diff --git a/Services/Theme/ThemePalletes.cs b/src/HashTool.App/Services/Theme/ThemePalletes.cs
similarity index 99%
rename from Services/Theme/ThemePalletes.cs
rename to src/HashTool.App/Services/Theme/ThemePalletes.cs
index 9bb9b81..ad9bef5 100644
--- a/Services/Theme/ThemePalletes.cs
+++ b/src/HashTool.App/Services/Theme/ThemePalletes.cs
@@ -1,8 +1,8 @@
using System.Collections.Generic;
using Avalonia.Media;
-using CheckHash.Models;
+using HashTool.App.Models;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public static class ThemePalettes
{
diff --git a/Services/Theme/ThemeService.cs b/src/HashTool.App/Services/Theme/ThemeService.cs
similarity index 96%
rename from Services/Theme/ThemeService.cs
rename to src/HashTool.App/Services/Theme/ThemeService.cs
index 5126f30..3617576 100644
--- a/Services/Theme/ThemeService.cs
+++ b/src/HashTool.App/Services/Theme/ThemeService.cs
@@ -5,11 +5,11 @@ using Avalonia;
using Avalonia.Platform;
using Avalonia.Styling;
using Avalonia.Threading;
-using CheckHash.Models;
-using CheckHash.Services.ThemeEffects;
+using HashTool.App.Models;
+using HashTool.App.Services.ThemeEffects;
using CommunityToolkit.Mvvm.ComponentModel;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public partial class ThemeService : ObservableObject
{
diff --git a/Services/URL/URLHelper.cs b/src/HashTool.App/Services/URL/URLHelper.cs
similarity index 98%
rename from Services/URL/URLHelper.cs
rename to src/HashTool.App/Services/URL/URLHelper.cs
index dfed1be..5e3cc1a 100644
--- a/Services/URL/URLHelper.cs
+++ b/src/HashTool.App/Services/URL/URLHelper.cs
@@ -3,7 +3,7 @@ using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public static class UrlHelper
{
diff --git a/Services/UpdateService.cs b/src/HashTool.App/Services/UpdateService.cs
similarity index 99%
rename from Services/UpdateService.cs
rename to src/HashTool.App/Services/UpdateService.cs
index 5fac96b..e8b208c 100644
--- a/Services/UpdateService.cs
+++ b/src/HashTool.App/Services/UpdateService.cs
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
using Velopack;
using Velopack.Sources;
-namespace CheckHash.Services;
+namespace HashTool.App.Services;
public enum NetworkStatus
{
diff --git a/ViewLocator.cs b/src/HashTool.App/ViewLocator.cs
similarity index 97%
rename from ViewLocator.cs
rename to src/HashTool.App/ViewLocator.cs
index 69b51e9..59c72e9 100644
--- a/ViewLocator.cs
+++ b/src/HashTool.App/ViewLocator.cs
@@ -4,7 +4,7 @@ using Avalonia.Controls;
using Avalonia.Controls.Templates;
using CommunityToolkit.Mvvm.ComponentModel;
-namespace CheckHash;
+namespace HashTool.App;
[RequiresUnreferencedCode(
"Default implementation of ViewLocator involves reflection which may be trimmed away.",
diff --git a/ViewModels/AboutViewModel.cs b/src/HashTool.App/ViewModels/AboutViewModel.cs
similarity index 98%
rename from ViewModels/AboutViewModel.cs
rename to src/HashTool.App/ViewModels/AboutViewModel.cs
index a8be55d..d83babc 100644
--- a/ViewModels/AboutViewModel.cs
+++ b/src/HashTool.App/ViewModels/AboutViewModel.cs
@@ -1,9 +1,9 @@
using System.Collections.ObjectModel;
-using CheckHash.Services;
+using HashTool.App.Services;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
-namespace CheckHash.ViewModels;
+namespace HashTool.App.ViewModels;
public partial class AboutViewModel : ObservableObject
{
diff --git a/ViewModels/CheckHashViewModel.cs b/src/HashTool.App/ViewModels/CheckHashViewModel.cs
similarity index 99%
rename from ViewModels/CheckHashViewModel.cs
rename to src/HashTool.App/ViewModels/CheckHashViewModel.cs
index 48179d3..d7aa44e 100644
--- a/ViewModels/CheckHashViewModel.cs
+++ b/src/HashTool.App/ViewModels/CheckHashViewModel.cs
@@ -10,12 +10,12 @@ using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Platform.Storage;
using Avalonia.Threading;
-using CheckHash.Models;
-using CheckHash.Services;
+using HashTool.App.Models;
+using HashTool.App.Services;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
-namespace CheckHash.ViewModels;
+namespace HashTool.App.ViewModels;
public partial class CheckHashViewModel : FileListViewModelBase
{
diff --git a/ViewModels/CreateHashViewModel.cs b/src/HashTool.App/ViewModels/CreateHashViewModel.cs
similarity index 99%
rename from ViewModels/CreateHashViewModel.cs
rename to src/HashTool.App/ViewModels/CreateHashViewModel.cs
index 72267d6..43d5c88 100644
--- a/ViewModels/CreateHashViewModel.cs
+++ b/src/HashTool.App/ViewModels/CreateHashViewModel.cs
@@ -12,12 +12,12 @@ using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Platform.Storage;
using Avalonia.Threading;
-using CheckHash.Models;
-using CheckHash.Services;
+using HashTool.App.Models;
+using HashTool.App.Services;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
-namespace CheckHash.ViewModels;
+namespace HashTool.App.ViewModels;
public partial class CreateHashViewModel : FileListViewModelBase
{
diff --git a/ViewModels/DeveloperViewModel.cs b/src/HashTool.App/ViewModels/DeveloperViewModel.cs
similarity index 96%
rename from ViewModels/DeveloperViewModel.cs
rename to src/HashTool.App/ViewModels/DeveloperViewModel.cs
index 95162e8..5108a96 100644
--- a/ViewModels/DeveloperViewModel.cs
+++ b/src/HashTool.App/ViewModels/DeveloperViewModel.cs
@@ -3,11 +3,11 @@ using System.IO;
using Avalonia;
using Avalonia.Collections;
using Avalonia.Controls.ApplicationLifetimes;
-using CheckHash.Services;
+using HashTool.App.Services;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
-namespace CheckHash.ViewModels;
+namespace HashTool.App.ViewModels;
public partial class DeveloperViewModel : ObservableObject
{
diff --git a/ViewModels/FileItem.cs b/src/HashTool.App/ViewModels/FileItem.cs
similarity index 94%
rename from ViewModels/FileItem.cs
rename to src/HashTool.App/ViewModels/FileItem.cs
index a1c0d0c..e65ae36 100644
--- a/ViewModels/FileItem.cs
+++ b/src/HashTool.App/ViewModels/FileItem.cs
@@ -1,9 +1,9 @@
using System.Threading;
-using CheckHash.Models;
-using CheckHash.Services;
+using HashTool.App.Models;
+using HashTool.App.Services;
using CommunityToolkit.Mvvm.ComponentModel;
-namespace CheckHash.ViewModels;
+namespace HashTool.App.ViewModels;
public partial class FileItem : ObservableObject
{
diff --git a/ViewModels/FileListViewModelBase.cs b/src/HashTool.App/ViewModels/FileListViewModelBase.cs
similarity index 99%
rename from ViewModels/FileListViewModelBase.cs
rename to src/HashTool.App/ViewModels/FileListViewModelBase.cs
index 25f0a0e..7aa7e1c 100644
--- a/ViewModels/FileListViewModelBase.cs
+++ b/src/HashTool.App/ViewModels/FileListViewModelBase.cs
@@ -10,12 +10,12 @@ using Avalonia.Collections;
using Avalonia.Controls;
using Avalonia.Platform.Storage;
using Avalonia.Threading;
-using CheckHash.Models;
-using CheckHash.Services;
+using HashTool.App.Models;
+using HashTool.App.Services;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
-namespace CheckHash.ViewModels;
+namespace HashTool.App.ViewModels;
public abstract partial class FileListViewModelBase : ObservableObject, IDisposable
{
diff --git a/ViewModels/MainWindowViewModel.cs b/src/HashTool.App/ViewModels/MainWindowViewModel.cs
similarity index 98%
rename from ViewModels/MainWindowViewModel.cs
rename to src/HashTool.App/ViewModels/MainWindowViewModel.cs
index e2fd040..01b7ee3 100644
--- a/ViewModels/MainWindowViewModel.cs
+++ b/src/HashTool.App/ViewModels/MainWindowViewModel.cs
@@ -2,12 +2,12 @@
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
-using CheckHash.Models;
-using CheckHash.Services;
+using HashTool.App.Models;
+using HashTool.App.Services;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
-namespace CheckHash.ViewModels;
+namespace HashTool.App.ViewModels;
public partial class MainWindowViewModel : ObservableObject
{
diff --git a/ViewModels/SettingsViewModel.cs b/src/HashTool.App/ViewModels/SettingsViewModel.cs
similarity index 99%
rename from ViewModels/SettingsViewModel.cs
rename to src/HashTool.App/ViewModels/SettingsViewModel.cs
index 4c85dc4..10e6ac2 100644
--- a/ViewModels/SettingsViewModel.cs
+++ b/src/HashTool.App/ViewModels/SettingsViewModel.cs
@@ -8,12 +8,12 @@ using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Threading;
-using CheckHash.Models;
-using CheckHash.Services;
+using HashTool.App.Models;
+using HashTool.App.Services;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
-namespace CheckHash.ViewModels;
+namespace HashTool.App.ViewModels;
public partial class SettingsViewModel : ObservableObject
{
diff --git a/ViewModels/UpdateViewModel.cs b/src/HashTool.App/ViewModels/UpdateViewModel.cs
similarity index 98%
rename from ViewModels/UpdateViewModel.cs
rename to src/HashTool.App/ViewModels/UpdateViewModel.cs
index 497a10b..3306f36 100644
--- a/ViewModels/UpdateViewModel.cs
+++ b/src/HashTool.App/ViewModels/UpdateViewModel.cs
@@ -3,13 +3,13 @@ using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
-using CheckHash.Services;
-using CheckHash.Views;
+using HashTool.App.Services;
+using HashTool.App.Views;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using Velopack;
-namespace CheckHash.ViewModels;
+namespace HashTool.App.ViewModels;
public partial class UpdateViewModel : ObservableObject
{
diff --git a/Views/AboutView.axaml b/src/HashTool.App/Views/AboutView.axaml
similarity index 98%
rename from Views/AboutView.axaml
rename to src/HashTool.App/Views/AboutView.axaml
index c8330f7..0962c68 100644
--- a/Views/AboutView.axaml
+++ b/src/HashTool.App/Views/AboutView.axaml
@@ -1,8 +1,8 @@
diff --git a/Views/CheckHashView.axaml.cs b/src/HashTool.App/Views/CheckHashView.axaml.cs
similarity index 97%
rename from Views/CheckHashView.axaml.cs
rename to src/HashTool.App/Views/CheckHashView.axaml.cs
index 6e9c732..b5f0b49 100644
--- a/Views/CheckHashView.axaml.cs
+++ b/src/HashTool.App/Views/CheckHashView.axaml.cs
@@ -5,10 +5,10 @@ using System.Text.RegularExpressions;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Markup.Xaml;
-using CheckHash.Services;
-using CheckHash.ViewModels;
+using HashTool.App.Services;
+using HashTool.App.ViewModels;
-namespace CheckHash.Views;
+namespace HashTool.App.Views;
public partial class CheckHashView : UserControl
{
diff --git a/Views/CreateHashView.axaml b/src/HashTool.App/Views/CreateHashView.axaml
similarity index 99%
rename from Views/CreateHashView.axaml
rename to src/HashTool.App/Views/CreateHashView.axaml
index d7151a3..3e9dff9 100644
--- a/Views/CreateHashView.axaml
+++ b/src/HashTool.App/Views/CreateHashView.axaml
@@ -2,11 +2,11 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:vm="using:CheckHash.ViewModels"
- xmlns:controls="using:CheckHash.Views.Controls"
+ xmlns:vm="using:HashTool.App.ViewModels"
+ xmlns:controls="using:HashTool.App.Views.Controls"
xmlns:icons="clr-namespace:Material.Icons.Avalonia;assembly=Material.Icons.Avalonia"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:Class="CheckHash.Views.CreateHashView"
+ x:Class="HashTool.App.Views.CreateHashView"
x:DataType="vm:CreateHashViewModel">
diff --git a/Views/CreateHashView.axaml.cs b/src/HashTool.App/Views/CreateHashView.axaml.cs
similarity index 95%
rename from Views/CreateHashView.axaml.cs
rename to src/HashTool.App/Views/CreateHashView.axaml.cs
index 7412eb0..3f0b9b5 100644
--- a/Views/CreateHashView.axaml.cs
+++ b/src/HashTool.App/Views/CreateHashView.axaml.cs
@@ -2,9 +2,9 @@ using System.Linq;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Markup.Xaml;
-using CheckHash.ViewModels;
+using HashTool.App.ViewModels;
-namespace CheckHash.Views;
+namespace HashTool.App.Views;
public partial class CreateHashView : UserControl
{
diff --git a/Views/DeveloperWindow.axaml b/src/HashTool.App/Views/DeveloperWindow.axaml
similarity index 96%
rename from Views/DeveloperWindow.axaml
rename to src/HashTool.App/Views/DeveloperWindow.axaml
index 399f33d..9d747cb 100644
--- a/Views/DeveloperWindow.axaml
+++ b/src/HashTool.App/Views/DeveloperWindow.axaml
@@ -1,8 +1,8 @@
diff --git a/Views/DeveloperWindow.axaml.cs b/src/HashTool.App/Views/DeveloperWindow.axaml.cs
similarity index 89%
rename from Views/DeveloperWindow.axaml.cs
rename to src/HashTool.App/Views/DeveloperWindow.axaml.cs
index 1b673fc..5ac3f05 100644
--- a/Views/DeveloperWindow.axaml.cs
+++ b/src/HashTool.App/Views/DeveloperWindow.axaml.cs
@@ -1,7 +1,7 @@
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
-namespace CheckHash.Views;
+namespace HashTool.App.Views;
public partial class DeveloperView : UserControl
{
diff --git a/Views/DisclamerWindow.axaml b/src/HashTool.App/Views/DisclamerWindow.axaml
similarity index 93%
rename from Views/DisclamerWindow.axaml
rename to src/HashTool.App/Views/DisclamerWindow.axaml
index 404de0d..b130e41 100644
--- a/Views/DisclamerWindow.axaml
+++ b/src/HashTool.App/Views/DisclamerWindow.axaml
@@ -1,7 +1,7 @@
diff --git a/Views/SettingsView.axaml.cs b/src/HashTool.App/Views/SettingsView.axaml.cs
similarity index 89%
rename from Views/SettingsView.axaml.cs
rename to src/HashTool.App/Views/SettingsView.axaml.cs
index ac4376e..996b687 100644
--- a/Views/SettingsView.axaml.cs
+++ b/src/HashTool.App/Views/SettingsView.axaml.cs
@@ -1,7 +1,7 @@
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
-namespace CheckHash.Views;
+namespace HashTool.App.Views;
public partial class SettingsView : UserControl
{
diff --git a/Views/UpdateView.axaml b/src/HashTool.App/Views/UpdateView.axaml
similarity index 95%
rename from Views/UpdateView.axaml
rename to src/HashTool.App/Views/UpdateView.axaml
index c03a307..e739852 100644
--- a/Views/UpdateView.axaml
+++ b/src/HashTool.App/Views/UpdateView.axaml
@@ -1,8 +1,8 @@
diff --git a/Views/UpdateView.axaml.cs b/src/HashTool.App/Views/UpdateView.axaml.cs
similarity index 89%
rename from Views/UpdateView.axaml.cs
rename to src/HashTool.App/Views/UpdateView.axaml.cs
index ffe5728..70b79ad 100644
--- a/Views/UpdateView.axaml.cs
+++ b/src/HashTool.App/Views/UpdateView.axaml.cs
@@ -1,7 +1,7 @@
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
-namespace CheckHash.Views;
+namespace HashTool.App.Views;
public partial class UpdateView : UserControl
{
diff --git a/app.manifest b/src/HashTool.App/app.manifest
similarity index 100%
rename from app.manifest
rename to src/HashTool.App/app.manifest
diff --git a/Models/AppConstants.cs b/src/HashTool.Core/AppConstants.cs
similarity index 90%
rename from Models/AppConstants.cs
rename to src/HashTool.Core/AppConstants.cs
index a22c87f..dd1e8fb 100644
--- a/Models/AppConstants.cs
+++ b/src/HashTool.Core/AppConstants.cs
@@ -1,4 +1,4 @@
-namespace CheckHash.Models;
+namespace HashTool.Core;
public static class AppConstants
{
diff --git a/src/HashTool.Core/HashTool.Core.csproj b/src/HashTool.Core/HashTool.Core.csproj
new file mode 100644
index 0000000..866c39f
--- /dev/null
+++ b/src/HashTool.Core/HashTool.Core.csproj
@@ -0,0 +1,16 @@
+
+
+
+ HashTool.Core
+ true
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Services/HashService.cs b/src/HashTool.Core/Hashing/HashService.cs
similarity index 99%
rename from Services/HashService.cs
rename to src/HashTool.Core/Hashing/HashService.cs
index 6d313ba..b02b916 100644
--- a/Services/HashService.cs
+++ b/src/HashTool.Core/Hashing/HashService.cs
@@ -7,9 +7,9 @@ using System.Threading;
using System.Threading.Tasks;
using System.IO.Hashing;
using Blake3;
-using CheckHash.Models;
+using HashTool.Core.IO;
-namespace CheckHash.Services;
+namespace HashTool.Core.Hashing;
public enum HashType
{
diff --git a/Services/HashTypeExtensions.cs b/src/HashTool.Core/Hashing/HashTypeExtensions.cs
similarity index 83%
rename from Services/HashTypeExtensions.cs
rename to src/HashTool.Core/Hashing/HashTypeExtensions.cs
index b4a6a00..5f9ec8f 100644
--- a/Services/HashTypeExtensions.cs
+++ b/src/HashTool.Core/Hashing/HashTypeExtensions.cs
@@ -1,4 +1,4 @@
-namespace CheckHash.Services;
+namespace HashTool.Core.Hashing;
public static class HashTypeExtensions
{
diff --git a/Services/ProgressStream.cs b/src/HashTool.Core/IO/ProgressStream.cs
similarity index 98%
rename from Services/ProgressStream.cs
rename to src/HashTool.Core/IO/ProgressStream.cs
index 76cd4f0..336aada 100644
--- a/Services/ProgressStream.cs
+++ b/src/HashTool.Core/IO/ProgressStream.cs
@@ -3,7 +3,7 @@ using System.IO;
using System.Threading;
using System.Threading.Tasks;
-namespace CheckHash.Services;
+namespace HashTool.Core.IO;
public class ProgressStream : Stream
{
diff --git a/Services/ProcessingStrategyService.cs b/src/HashTool.Core/Processing/ProcessingStrategyService.cs
similarity index 95%
rename from Services/ProcessingStrategyService.cs
rename to src/HashTool.Core/Processing/ProcessingStrategyService.cs
index 114c16d..364c729 100644
--- a/Services/ProcessingStrategyService.cs
+++ b/src/HashTool.Core/Processing/ProcessingStrategyService.cs
@@ -1,7 +1,9 @@
using System;
using System.Collections.Generic;
-namespace CheckHash.Services;
+using HashTool.Core.Hashing;
+
+namespace HashTool.Core.Processing;
public class ProcessingStrategyService
{
diff --git a/tests/HashTool.Core.Tests/HashTool.Core.Tests.csproj b/tests/HashTool.Core.Tests/HashTool.Core.Tests.csproj
new file mode 100644
index 0000000..66c82bf
--- /dev/null
+++ b/tests/HashTool.Core.Tests/HashTool.Core.Tests.csproj
@@ -0,0 +1,16 @@
+
+
+ Exe
+ false
+ true
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/HashTool.Core.Tests/Hashing/HashServiceTests.cs b/tests/HashTool.Core.Tests/Hashing/HashServiceTests.cs
new file mode 100644
index 0000000..818bc5a
--- /dev/null
+++ b/tests/HashTool.Core.Tests/Hashing/HashServiceTests.cs
@@ -0,0 +1,120 @@
+using System;
+using System.IO;
+using System.IO.Hashing;
+using System.Security.Cryptography;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using HashTool.Core.Hashing;
+using Xunit;
+
+namespace HashTool.Core.Tests.Hashing;
+
+public sealed class HashServiceTests : IDisposable
+{
+ private readonly DirectoryInfo _dir = Directory.CreateTempSubdirectory("hashtool-tests-");
+ private readonly HashService _service = new();
+
+ public void Dispose() => _dir.Delete(recursive: true);
+
+ private string WriteFile(byte[] content, string name = "input.bin")
+ {
+ var path = Path.Combine(_dir.FullName, name);
+ File.WriteAllBytes(path, content);
+ return path;
+ }
+
+ [Theory]
+ [InlineData(HashType.MD5, "", "D41D8CD98F00B204E9800998ECF8427E")]
+ [InlineData(HashType.MD5, "abc", "900150983CD24FB0D6963F7D28E17F72")]
+ [InlineData(HashType.SHA1, "abc", "A9993E364706816ABA3E25717850C26C9CD0D89D")]
+ [InlineData(HashType.SHA256, "", "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855")]
+ [InlineData(HashType.SHA256, "abc", "BA7816BF8F01CFEA414140DE5DAE2223B00361A396177A9CB410FF61F20015AD")]
+ [InlineData(HashType.SHA384, "abc",
+ "CB00753F45A35E8BB5A03D699AC65007272C32AB0EDED1631A8B605A43FF5BED8086072BA1E7CC2358BAECA134C825A7")]
+ [InlineData(HashType.SHA512, "abc",
+ "DDAF35A193617ABACC417349AE20413112E6FA4E89A97EA20A9EEEE64B55D39A2192992A274FC1A836BA3C23A3FEEBBD454D4423643CE80E2A9AC94FA54CA49F")]
+ [InlineData(HashType.BLAKE3, "", "AF1349B9F5F9A1A6A0404DEA36DCC9499BCB25C9ADC112B7CC9A93CAE41F3262")]
+ [InlineData(HashType.BLAKE3, "abc", "6437B3AC38465133FFB63B75273A8DB548C558465D79DB03FD359C6CD5BD9D85")]
+ [InlineData(HashType.XxHash32, "abc", "32D153FF")]
+ [InlineData(HashType.XxHash64, "", "EF46DB3751D8E999")]
+ [InlineData(HashType.XxHash64, "abc", "44BC2CF5AD770999")]
+ [InlineData(HashType.XxHash3, "abc", "78AF5F94892F3950")]
+ [InlineData(HashType.XxHash128, "abc", "06B05AB6733A618578AF5F94892F3950")]
+ public async Task ComputesKnownAnswerVectors(HashType type, string input, string expected)
+ {
+ var path = WriteFile(Encoding.ASCII.GetBytes(input));
+
+ var actual = await _service.ComputeHashAsync(path, type, TestContext.Current.CancellationToken);
+
+ Assert.Equal(expected, actual);
+ }
+
+ [Fact]
+ public async Task Crc32_CurrentlyEmitsLittleEndianBytes()
+ {
+ // Characterization of the 1.1.x behaviour: the conventional CRC-32 of "123456789" is CBF43926,
+ // but the bytes come out reversed. A later commit fixes this.
+ var path = WriteFile("123456789"u8.ToArray());
+
+ var actual = await _service.ComputeHashAsync(path, HashType.CRC32, TestContext.Current.CancellationToken);
+
+ Assert.Equal("2639F4CB", actual);
+ }
+
+ [Theory]
+ [InlineData(HashType.SHA256, 4096)]
+ [InlineData(HashType.XxHash64, 4096)]
+ [InlineData(HashType.BLAKE3, 4096)]
+ [InlineData(HashType.SHA256, null)]
+ public async Task LargeFile_MatchesOneShotHash(HashType type, int? bufferSize)
+ {
+ var content = new byte[3 * 1024 * 1024 + 123];
+ new Random(42).NextBytes(content);
+ var path = WriteFile(content);
+
+ var actual = await _service.ComputeHashAsync(path, type, TestContext.Current.CancellationToken, bufferSize);
+
+ var expected = type switch
+ {
+ HashType.SHA256 => Convert.ToHexString(SHA256.HashData(content)),
+ HashType.XxHash64 => Convert.ToHexString(XxHash64.Hash(content)),
+ HashType.BLAKE3 => Convert.ToHexString(Blake3.Hasher.Hash(content).AsSpan()),
+ _ => throw new ArgumentOutOfRangeException(nameof(type))
+ };
+ Assert.Equal(expected, actual);
+ }
+
+ [Fact]
+ public async Task ReportsProgressForEveryByte()
+ {
+ var content = new byte[1_000_000];
+ var path = WriteFile(content);
+ long total = 0;
+
+ await _service.ComputeHashAsync(path, HashType.SHA256, TestContext.Current.CancellationToken, 64 * 1024,
+ read => Interlocked.Add(ref total, read));
+
+ Assert.Equal(content.Length, total);
+ }
+
+ [Fact]
+ public async Task CancelledToken_Throws()
+ {
+ var path = WriteFile(new byte[1024]);
+ using var cts = new CancellationTokenSource();
+ await cts.CancelAsync();
+
+ await Assert.ThrowsAnyAsync(
+ () => _service.ComputeHashAsync(path, HashType.SHA256, cts.Token));
+ }
+
+ [Fact]
+ public async Task MissingFile_ThrowsFileNotFound()
+ {
+ var path = Path.Combine(_dir.FullName, "missing.bin");
+
+ await Assert.ThrowsAsync(
+ () => _service.ComputeHashAsync(path, HashType.SHA256, TestContext.Current.CancellationToken));
+ }
+}