ssdp.forheos
26.7.24
dotnet add package ssdp.forheos --version 26.7.24
NuGet\Install-Package ssdp.forheos -Version 26.7.24
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="ssdp.forheos" Version="26.7.24" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ssdp.forheos" Version="26.7.24" />
<PackageReference Include="ssdp.forheos" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ssdp.forheos --version 26.7.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ssdp.forheos, 26.7.24"
#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.
#:package ssdp.forheos@26.7.24
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ssdp.forheos&version=26.7.24
#tool nuget:?package=ssdp.forheos&version=26.7.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
class Program
{
static void Main(string[] args)
{
DRA800H mDRA800H = DRA800H.Default;
mDRA800H.GetSSDP += (object? sender, FindSSDPEventArgs msg) =>
{
if (msg.Items.Count > 0)
{
foreach (TFindSSDP item in msg.Items)
{
if (item.IP != null)
Console.WriteLine($"IP: {item.IP.ToString()}");
}
Console.WriteLine("Search SSDP end");
}
else
{
Console.WriteLine("No SSDP found.");
Console.WriteLine("Search SSDP end");
}
};
mDRA800H.GetDevice += (object? sender, FindDeviceEventArgs msg) =>
{
if (msg.Items.Count > 0)
{
foreach (TFindDevice item in msg.Items)
{
Console.WriteLine($"IP: {item.IP}, Name: {item.Name}, SN: {item.SN}, NetWork: {item.NetWork}, PID: {item.PID},");
}
}
else
{
Console.WriteLine("No device found.");
}
Console.WriteLine("Search device end");
};
mDRA800H.GetErr += (object? sender, ErrEventArgs msg) =>
{
if (msg.Err != null)
{
Console.WriteLine(msg.Err.Message);
}
};
try
{
Console.WriteLine($"Search start: {mDRA800H.URN}");
mDRA800H.SearchDevice();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine("Search device end");
}
Console.WriteLine("Search end");
Console.WriteLine(mDRA800H.Found);
//Console.ReadKey();
INetworkInfo _networkInfo = new NetworkInfo();
_networkInfo.GetSSDP += (object? sender, FindSSDPEventArgs msg) =>
{
if (msg.Items.Count > 0)
{
foreach (TFindSSDP item in msg.Items)
{
if (item.IP != null)
Console.WriteLine($"IP: {item.IP.ToString()}");
}
}
else
{
Console.WriteLine("No SSDP found.");
}
};
try
{
ESearchMethod mSearchMethod = ESearchMethod.esmAll;
Console.WriteLine($"Search SSDP start: {GetEnumDescription(mSearchMethod)}");
_networkInfo.SearchSSDP(mSearchMethod, 2);
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
Console.WriteLine("Search SSDP end");
Console.ReadKey();
}
public static string GetEnumDescription(Enum enumValue)
{
FieldInfo? mFI = enumValue.GetType().GetField(enumValue.ToString());
if ((mFI != null) && (Attribute.GetCustomAttribute(mFI, typeof(DescriptionAttribute)) is DescriptionAttribute attribute))
return attribute.Description;
return "";
}
}
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.0
- 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 |
|---|---|---|
| 26.7.24 | 107 | 7/24/2026 |