Net.Utils 0.1.44

Suggested Alternatives

MDSoft.NetUtils

dotnet add package Net.Utils --version 0.1.44
NuGet\Install-Package Net.Utils -Version 0.1.44
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Net.Utils" Version="0.1.44" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Net.Utils --version 0.1.44
#r "nuget: Net.Utils, 0.1.44"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Net.Utils as a Cake Addin
#addin nuget:?package=Net.Utils&version=0.1.44

// Install Net.Utils as a Cake Tool
#tool nuget:?package=Net.Utils&version=0.1.44

Net.Utils - Network utilities.

NuGet version NuGet downloads

Net.Utils

  • HttpClientEntity
  • PingEntity
  • ProxyEntity

Net.Utils.Tests

  • EnumValues
  • HttpClientEntityTests
  • ProxyEntityTests
  • Utils

Multi-targeted platforms

  • netstandard2.0
  • netstandard2.1
  • net45
  • net46
  • net461
  • net472
  • net48

How to use

Example of HttpClientEntity usage

var proxy = new ProxyEntity();
var httpClient = new HttpClientEntity(timeout: 50, host: "http://google.com/");
var task = Task.Run(async () =>
{
    await httpClient.OpenAsync(proxy).ConfigureAwait(true);
});
task.Wait();

Example of PingEntity usage

var ping = new PingEntity(timeoutPing: 100, bufferSize: 32, ttl: 128, dontFragment: true, timeoutTask: 1000, useRepeat: false);
ping.Hosts.Add("google.com");
ping.Hosts.Add("microsoft.com");
ping.Hosts.Add("yandex.com");
var task = Task.Run(async () =>
{
    await ping.OpenAsync().ConfigureAwait(true);
});
task.Wait();
TestContext.WriteLine($@"{ping.Settings}");
TestContext.WriteLine($@"{ping.Log}");

Example of ProxyEntity usage

var proxy = new Net.Utils.ProxyEntity(use, useDefaultCredentials, host, port, domain, username, password);

Net.Examples

Visit this repo for view examples

Telegram bot

@NetUtilsBot

Please, if this tool has been useful for you consider to donate

Buy me a coffee

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 is compatible.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.44 2,926 12/20/2020
0.1.40 450 12/10/2020
0.1.34 457 11/23/2020
0.1.31 490 11/22/2020
0.1.30 517 11/18/2020
0.1.21 506 11/8/2020
0.1.18 565 11/8/2020
0.1.13 543 11/7/2020
0.1.12 539 11/7/2020
0.1.10 571 11/7/2020

### Changed
- Changed target platform of projects
- Net.Utils.PingEntity: changed Status property to Log and Settings
### Added
- Multi-targeted platforms
 - netstandard2.0
 - netstandard2.1
 - net45
 - net46
 - net461
 - net472
 - net48