Softveloper 8.2.0

The Amazing DotNet-Library

Install-Package Softveloper -Version 8.2.0
dotnet add package Softveloper --version 8.2.0
<PackageReference Include="Softveloper" Version="8.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Softveloper --version 8.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
using Softveloper.Extensions;

// HttpRequest Get String Value
var request = Request; //HttpRequest
var value = request.GetStringValue("key");

// SHA
var password = "Password";
var sha384 = password.ToSha384();
var sha512 = password.ToSha512();

// Valid FileName
var fileName = "File/Name".ToValidFileName();
using Softveloper.IO;

// Create directory
Filerectory.CreateDirectory("./DirectoryName");

// Delete file
Filerectory.DeleteFile("./FileName");

// Write All Bytes
var bytes = new byte[2];
Filerectory.WriteAllBytes("./FileName", bytes);

// Write All Text
Filerectory.WriteAllText("./FileName", "Contents");
using Softveloper.Net

// Get IPv4 Address
HostInfo.GetIpv4();

// Get IPv4 Address with spectific HostName
HostInfo.GetIpv4("HostName");
using Softveloper.Net.Mail

// Send an Email
var client = new MailClient("Host", 25, "Username", "Password");
client.Address = "FromAddress";
client.Body = "Body";
client.Cc.Add("CcAddress");
client.DisplayName = "DisplayName";
client.EnableSsl = true;
client.Subject = "Subject";
client.To.Add("ToAddress");
client.Send();
using Softveloper.Extensions;

// HttpRequest Get String Value
var request = Request; //HttpRequest
var value = request.GetStringValue("key");

// SHA
var password = "Password";
var sha384 = password.ToSha384();
var sha512 = password.ToSha512();

// Valid FileName
var fileName = "File/Name".ToValidFileName();
using Softveloper.IO;

// Create directory
Filerectory.CreateDirectory("./DirectoryName");

// Delete file
Filerectory.DeleteFile("./FileName");

// Write All Bytes
var bytes = new byte[2];
Filerectory.WriteAllBytes("./FileName", bytes);

// Write All Text
Filerectory.WriteAllText("./FileName", "Contents");
using Softveloper.Net

// Get IPv4 Address
HostInfo.GetIpv4();

// Get IPv4 Address with spectific HostName
HostInfo.GetIpv4("HostName");
using Softveloper.Net.Mail

// Send an Email
var client = new MailClient("Host", 25, "Username", "Password");
client.Address = "FromAddress";
client.Body = "Body";
client.Cc.Add("CcAddress");
client.DisplayName = "DisplayName";
client.EnableSsl = true;
client.Subject = "Subject";
client.To.Add("ToAddress");
client.Send();

Release Notes

string.ToValidFileName();

Version History

Version Downloads Last updated
8.2.0 48 5/28/2019
8.1.0 203 7/16/2018
8.0.0 191 6/1/2018
7.4.2 188 5/3/2018
7.4.1 172 5/3/2018
7.4.0 175 5/3/2018
7.3.0 189 5/2/2018
7.2.0 242 2/15/2018
7.1.0 263 1/30/2018
7.0.0 283 1/29/2018
6.0.0 254 1/3/2018
5.0.0 254 9/1/2017
4.0.0 278 8/31/2017
3.0.2 227 8/4/2017
3.0.1 230 8/3/2017
3.0.0 224 8/3/2017
2.0.0 248 7/13/2017
1.1.2 257 7/7/2017
1.1.1 282 7/7/2017
1.1.0 257 7/7/2017
1.0.1 252 7/3/2017
1.0.0 240 7/3/2017