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.
#r "nuget: Softveloper, 8.2.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
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();

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
8.2.0 271 5/28/2019
8.1.0 490 7/16/2018
8.0.0 470 6/1/2018
7.4.2 483 5/3/2018
7.4.1 445 5/3/2018
7.4.0 441 5/3/2018
7.3.0 481 5/2/2018
7.2.0 542 2/15/2018
7.1.0 540 1/30/2018
7.0.0 569 1/29/2018
6.0.0 551 1/3/2018
5.0.0 693 9/1/2017
4.0.0 897 8/31/2017
3.0.2 577 8/4/2017
3.0.1 499 8/3/2017
3.0.0 484 8/3/2017
2.0.0 500 7/13/2017
1.1.2 520 7/7/2017
1.1.1 532 7/7/2017
1.1.0 531 7/7/2017
1.0.1 594 7/3/2017
1.0.0 514 7/3/2017