![]() |
VOOZH | about |
dotnet add package Pouyan.Network --version 1.0.0.3
NuGet\Install-Package Pouyan.Network -Version 1.0.0.3
<PackageReference Include="Pouyan.Network" Version="1.0.0.3" />
<PackageVersion Include="Pouyan.Network" Version="1.0.0.3" />Directory.Packages.props
<PackageReference Include="Pouyan.Network" />Project file
paket add Pouyan.Network --version 1.0.0.3
#r "nuget: Pouyan.Network, 1.0.0.3"
#:package Pouyan.Network@1.0.0.3
#addin nuget:?package=Pouyan.Network&version=1.0.0.3Install as a Cake Addin
#tool nuget:?package=Pouyan.Network&version=1.0.0.3Install as a Cake Tool
<div align="center">
</div>
var freePorts = Pouyan.Network.Port.GetFreePorts(10);
var result = Pouyan.Network.Port.PortIsOpen(80);
just work on windows
Pouyan.Network.Proxy.EnableSystemProxy("127.0.0.1",8080);
just work on windows
Pouyan.Network.Proxy.DisableSystemProxy();
var myGlobalIp = await Pouyan.Network.Tools.GetMyGlobalIpAsync();
return the interfaces that are enable and connected to a network
var activeInterfaces = Pouyan.Network.Interface.GetAllActiveNetworkInterfaces();
var Interfaces = Pouyan.Network.Interface.GetAllNetworkInterfaces();
var activeInterface = Pouyan.Network.Interface.GetActiveInterface();
var dnsAddresses = Pouyan.Network.Dns.GetDnsAddresses(networkInterface);
var dnsAddresses = Pouyan.Network.Dns.GetDnsAddressesPrimaryInterface();
var dnsAddresses = Pouyan.Network.Dns.GetDnsAddressesPrimaryInterface();
var dns = IPAddress.Parse("8.8.8.8");
Pouyan.Network.Dns.ChangeDnsTo(networkInterface,dns);
Or
var primaryDns = IPAddress.Parse("8.8.8.8");
var altDns = IPAddress.Parse("1.1.1.1");
Pouyan.Network.Dns.ChangeDnsTo(networkInterface, primaryDns, altDns);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. 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. |
Showing the top 1 NuGet packages that depend on Pouyan.Network:
| Package | Downloads |
|---|---|
|
Pouyan.SingBox
quieckly to create a vpn client that's support v2ray protocols |
This package is not used by any popular GitHub repositories.