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();

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
8.2.0 127 5/28/2019
8.1.0 304 7/16/2018
8.0.0 284 6/1/2018
7.4.2 282 5/3/2018
7.4.1 253 5/3/2018
7.4.0 263 5/3/2018
7.3.0 289 5/2/2018
7.2.0 358 2/15/2018
7.1.0 352 1/30/2018
7.0.0 362 1/29/2018
6.0.0 357 1/3/2018
5.0.0 521 9/1/2017
4.0.0 706 8/31/2017
3.0.2 403 8/4/2017
3.0.1 310 8/3/2017
3.0.0 295 8/3/2017
2.0.0 326 7/13/2017
1.1.2 337 7/7/2017
1.1.1 362 7/7/2017
1.1.0 339 7/7/2017
1.0.1 427 7/3/2017
1.0.0 320 7/3/2017