![]() |
VOOZH | about |
dotnet add package SweetMeSoft.Tools --version 1.10.132
NuGet\Install-Package SweetMeSoft.Tools -Version 1.10.132
<PackageReference Include="SweetMeSoft.Tools" Version="1.10.132" />
<PackageVersion Include="SweetMeSoft.Tools" Version="1.10.132" />Directory.Packages.props
<PackageReference Include="SweetMeSoft.Tools" />Project file
paket add SweetMeSoft.Tools --version 1.10.132
#r "nuget: SweetMeSoft.Tools, 1.10.132"
#:package SweetMeSoft.Tools@1.10.132
#addin nuget:?package=SweetMeSoft.Tools&version=1.10.132Install as a Cake Addin
#tool nuget:?package=SweetMeSoft.Tools&version=1.10.132Install as a Cake Tool
Library with a set of reusable tools and utilities for common tasks.
SweetMeSoft.Tools is a library for .NET Standard 2.1 that groups a collection of static helper classes to perform a variety of tasks, from type conversions and validations to email sending and data encryption.
ConvertersMethods for data type conversions, handling local culture for decimal separators.
StringToDouble(string)StringToFloat(string)StringToDecimal(string)StringToInt(string)IntToString(int)DecimalToString(decimal)StringToBool(string)EmailA class for sending emails via SMTP.
Send(EmailOptions): Sends an email configured through an EmailOptions object.
EmailOptions.Sender and EmailOptions.Password to be set statically before use.ReflectionsUtilities that use reflection.
CleanVirtualProperties<T>(T entity): Removes circular references in objects (commonly database entities) by serializing and deserializing the object with ReferenceLoopHandling.Ignore. Very useful for preparing data to be sent through an API.SecurityMethods for password hashing and reversible encryption.
HashPasswordIrreversible(string): Creates a hash of a password using PBKDF2 with a salt.VerifyHashedPasswordIrreversible(string, string): Compares a plain text password with its hash.CipherPasswordReversible(string, key, iv): Encrypts text using AES.DecipherPassword(string, key, iv): Decrypts encrypted text with AES.UtilsA set of miscellaneous utilities.
GetException(Exception): Gets the innermost exception message.GetRandomNumber(int): Generates a string of N random digits.WriteToAPath(StreamFile, path): Saves a StreamFile to a disk path.StringMatchCompare(list, chain, threshold): Performs a "fuzzy" string comparison to find similarities.MinifyJson(string): Removes whitespace from a JSON string.ValidatorsCommon validation methods.
IsValidEmail(string): Verifies if a string has a valid email format.IsValidPassword(string): Verifies if a password meets complexity requirements (uppercase, lowercase, numbers, symbols and minimum length).dotnet add package SweetMeSoft.Tools
using SweetMeSoft.Tools;
// --- Validation ---
bool isValid = Validators.IsValidEmail("test@example.com");
// --- Security ---
string password = "MySecurePassword123!";
string hashedPassword = Security.HashPasswordIrreversible(password);
bool isPasswordCorrect = Security.VerifyHashedPasswordIrreversible(hashedPassword, password);
// --- Converters ---
int number = Converters.StringToInt("123.45"); // Results in 123
This project is under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 netstandard2.1 is compatible. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 4 NuGet packages that depend on SweetMeSoft.Tools:
| Package | Downloads |
|---|---|
|
SweetMeSoft.Files
SweetMeSoft Files Library is a compilation of ways to read and generate different types of files like Excel, CSV, TXT, ZIP and more |
|
|
SweetMeSoft.GCP
SweetMeSoft GCP Library is a compilation of basic tools to connect with GCP services |
|
|
SweetMeSoft.Middleware
SweetMeSoft Middleware Library is a compilation of different middlewares for .Net core |
|
|
SweetMeSoft.Captcha
SweetMeSoft Captcha Library is for solve the most of captchas automatically |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.10.132 | 320 | 2/19/2026 | |
| 1.10.131 | 731 | 11/20/2025 | |
| 1.10.130 | 814 | 9/17/2025 | |
| 1.10.129 | 733 | 1/19/2025 | |
| 1.10.128 | 792 | 8/31/2024 | |
| 1.10.127 | 446 | 4/3/2024 | |
| 1.10.126 | 263 | 4/3/2024 | |
| 1.10.125 | 232 | 4/3/2024 | |
| 1.10.124 | 270 | 1/30/2024 | |
| 1.10.123 | 394 | 11/27/2023 | |
| 1.10.122 | 314 | 11/1/2023 | |
| 1.10.121 | 216 | 11/1/2023 | |
| 1.10.120 | 398 | 10/12/2023 | |
| 1.10.119 | 433 | 7/7/2023 | |
| 1.10.118 | 361 | 7/1/2023 | |
| 1.10.117 | 301 | 6/12/2023 | |
| 1.10.115 | 326 | 6/10/2023 | |
| 1.10.114 | 317 | 6/7/2023 | |
| 1.10.1 | 248 | 10/12/2023 | 1.10.1 is deprecated because it has critical bugs. |