RS.Fritz.Manager.API 0.2.0-alpha0405

This is a prerelease version of RS.Fritz.Manager.API.
There is a newer version of this package available.
See the version list below for details.
dotnet add package RS.Fritz.Manager.API --version 0.2.0-alpha0405                
NuGet\Install-Package RS.Fritz.Manager.API -Version 0.2.0-alpha0405                
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="RS.Fritz.Manager.API" Version="0.2.0-alpha0405" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RS.Fritz.Manager.API --version 0.2.0-alpha0405                
#r "nuget: RS.Fritz.Manager.API, 0.2.0-alpha0405"                
#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 RS.Fritz.Manager.API as a Cake Addin
#addin nuget:?package=RS.Fritz.Manager.API&version=0.2.0-alpha0405&prerelease

// Install RS.Fritz.Manager.API as a Cake Tool
#tool nuget:?package=RS.Fritz.Manager.API&version=0.2.0-alpha0405&prerelease                

RS.Fritz.Manager.UI

A Windows .NET app with WPF UI to manage FritzBox devices using pure WCF calls.

Untitled

Usage Instructions

  1. Click Discover Internet Gateway Devices
  2. Select a device from the list
  3. Select a device user
  4. Enter the selected user's password
  5. Click Login
  6. Use the Device Information tab to see device details

RS.Fritz.Manager.API

A NuGet package to manage FritzBox devices using pure WCF calls.

Usage Example

using System.Net;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using RS.Fritz.Manager.API;

// Register Fritz services in container using AddFritzApi()
using IHost host = Host.CreateDefaultBuilder(args)
    .ConfigureServices((_, services) => services.AddFritzApi())
    .Build();
using IServiceScope serviceScope = host.Services.CreateScope();
IDeviceSearchService deviceSearchService = serviceScope.ServiceProvider.GetRequiredService<IDeviceSearchService>();

// Search for routers and take the first one
InternetGatewayDevice device = (await deviceSearchService.GetDevicesAsync()).First();

// Initialize device
await device.InitializeAsync();

// Provide password for last logged on user
string lastUsedUserName = device.Users.Single(q => q.LastUser).Name;
Console.WriteLine($"Enter password for {lastUsedUserName}:");
device.NetworkCredential = new NetworkCredential(lastUsedUserName, Console.ReadLine());

// Show device UpTime
DeviceInfoGetInfoResponse deviceInfo = await device.DeviceInfoGetInfoAsync();
Console.WriteLine(TimeSpan.FromSeconds(deviceInfo.UpTime));

await host.RunAsync();

Service implementation status

WAN

  • 🔶 urn:dslforum-org:service:WANIPConnection:1
    • ✅ GetInfo
    • ✅ GetConnectionTypeInfo
    • ❌ SetConnectionType
    • ✅ GetStatusInfo
    • ✅ GetNATRSIPStatus
    • ❌ SetConnectionTrigger
    • ❌ ForceTermination
    • ❌ RequestConnection
    • ✅ X_GetDNSServers
    • ✅ GetPortMappingNumberOfEntries
    • ❌ GetGenericPortMappingEntry
    • ❌ GetSpecificPortMappingEntry
    • ❌ AddPortMapping
    • ❌ DeletePortMapping
    • ✅ GetExternalIPAddress
    • ❌ SetRouteProtocolRx
    • ❌ SetIdleDisconnectTime
  • 🔶 urn:dslforum-org:service:WANPPPConnection:1
    • ✅ GetInfo
    • ✅ GetConnectionTypeInfo
    • ❌ SetConnectionType
    • ✅ GetStatusInfo
    • ✅ GetLinkLayerMaxBitRates
    • ✅ GetUserName
    • ❌ SetUserName
    • ❌ SetPassword
    • ✅ GetNATRSIPStatus
    • ❌ SetConnectionTrigger
    • ❌ ForceTermination
    • ❌ RequestConnection
    • ✅ X_GetDNSServers
    • ✅ GetPortMappingNumberOfEntries
    • ❌ GetGenericPortMappingEntry
    • ❌ GetSpecificPortMappingEntry
    • ❌ AddPortMapping
    • ❌ DeletePortMapping
    • ✅ GetExternalIPAddress
    • ❌ SetRouteProtocolRx
    • ❌ SetIdleDisconnectTime
    • ✅ X_AVM_DE_GetAutoDisconnectTimeSpan
    • ❌ X_AVM_DE_SetAutoDisconnectTimeSpan
  • ✅ urn:dslforum-org:service:WANCommonInterfaceConfig:1
    • ✅ GetCommonLinkProperties
    • ✅ GetTotalBytesSent
    • ✅ GetTotalBytesReceived
    • ✅ GetTotalPacketsSent
    • ✅ GetTotalPacketsReceived
    • ✅ X_AVM-DE_SetWANAccessType
    • ✅ X_AVM-DE_GetOnlineMonitor
  • ✅ urn:dslforum-org:service:WANEthernetLinkConfig:1
    • ✅ GetEthernetLinkStatus
  • ✅ urn:dslforum-org:service:WANDSLInterfaceConfig:1
    • ✅ GetInfo
    • ✅ GetStatisticsTotal
    • ✅ X_AVM-DE_GetDSLDiagnoseInfo
    • ✅ X_AVM-DE_GetDSLInfo
  • 🔶 urn:dslforum-org:service:WANDSLLinkConfig:1
    • ✅ GetInfo
    • ❌ SetEnable
    • ❌ SetDSLLinkType
    • ✅ GetDSLLinkInfo
    • ❌ SetDestinationAddress
    • ✅ GetDestinationAddress
    • ❌ SetATMEncapsulation
    • ❌ GetATMEncapsulation
    • ❌ GetAutoConfig
    • ❌ GetStatistics
  • ❌ urn:dslforum-org:service:X_AVM-DE_Speedtest:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_RemoteAccess:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_MyFritz:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_HostFilter:1
  • 🔶 urn:dslforum-org:service:Layer3Forwarding:1
    • ❌ SetDefaultConnectionService
    • ✅ GetDefaultConnectionService
    • ❌ GetForwardNumberOfEntries
    • ❌ AddForwardingEntry
    • ❌ DeleteForwardingEntry
    • ❌ GetSpecificForwardingEntry
    • ❌ GetGenericForwardingEntry
    • ❌ SetForwardingEntryEnable

Telephony

  • ❌ urn:dslforum-org:service:X_AVM-DE_OnTel:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_TAM:1
  • ❌ urn:dslforum-org:service:X_VoIP:1

Home network

  • 🔶 urn:dslforum-org:service:Hosts:1
    • ✅ GetHostNumberOfEntries
    • ❌ GetSpecificHostEntry
    • ✅ GetGenericHostEntry
    • ❌ X_AVM-DE_GetChangeCounter
    • ❌ X_AVM-DE_GetAutoWakeOnLANByMACAddress
    • ❌ X_AVM-DE_SetAutoWakeOnLANByMACAddress
    • ❌ X_AVM-DE_SetHostNameByMACAddress
    • ❌ X_AVM-DE_WakeOnLANByMACAddress
    • ❌ X_AVM-DE_GetSpecificHostEntryByIp
    • ❌ X_AVM-DE_HostsCheckUpdate
    • ❌ X_AVM-DE_HostDoUpdate
    • ✅ X_AVM-DE_GetHostListPath
    • ❌ X_AVM-DE_GetMeshListPath
  • ❌ urn:dslforum-org:service:WLANConfiguration:1
  • ❌ urn:dslforum-org:service:LANHostConfigManagement:1
  • ❌ urn:dslforum-org:service:LANEthernetInterfaceConfig:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_Dect:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_Homeauto:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_Homeplug:1

Storage/NAS

  • ❌ urn:dslforum-org:service:X_AVM-DE_Storage:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_UPnP:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_Filelinks:1

System

  • ✅ urn:dslforum-org:service:DeviceInfo:1
    • ✅ GetInfo
    • ✅ SetProvisioningCode
    • ✅ GetDeviceLog
    • ✅ GetSecurityPort
  • ❌ urn:dslforum-org:service:DeviceConfig:1
  • ✅ urn:dslforum-org:service:LANConfigSecurity:1
    • ✅ GetInfo
    • ✅ X_AVM-DE_GetAnonymousLogin
    • ✅ X_AVM-DE_GetCurrentUser
    • ✅ SetConfigPassword
    • ✅ X_AVM-DE_GetUserList
  • ❌ urn:dslforum-org:service:X_AVM-DE_AppSetup:1
  • ❌ urn:dslforum-org:service:X_AVM-DE_Auth:1
  • ❌ urn:dslforum-org:service:Time:1
  • ❌ urn:dslforum-org:service:UserInterface:1
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.5.0-alpha0008 80 5/19/2024
2.5.0-alpha0004 109 3/22/2024
2.5.0-alpha0001 118 1/30/2024
2.4.0 219 1/5/2024
2.4.0-alpha0090 102 1/5/2024
2.4.0-alpha0075 122 12/14/2023
2.4.0-alpha0061 124 6/23/2023
2.4.0-alpha0048 123 6/4/2023
2.4.0-alpha0036 122 5/19/2023
2.4.0-alpha0028 75 4/15/2023
2.4.0-alpha0021 98 2/21/2023
2.4.0-alpha0015 100 1/27/2023
2.4.0-alpha0010 102 1/27/2023
2.4.0-alpha0006 105 1/25/2023
2.4.0-alpha0003 97 1/25/2023
2.4.0-alpha0001 107 1/24/2023
2.3.0 185 1/24/2023
2.3.0-alpha0061 110 1/22/2023
2.3.0-alpha0049 97 1/19/2023
2.3.0-alpha0038 90 1/18/2023
2.3.0-alpha0028 130 1/16/2023
2.3.0-alpha0021 139 11/19/2022
2.3.0-alpha0015 109 10/28/2022
2.3.0-alpha0010 131 7/9/2022
2.3.0-alpha0006 121 5/11/2022
2.3.0-alpha0003 118 4/13/2022
2.3.0-alpha0001 117 4/12/2022
2.2.0 205 4/12/2022
2.2.0-alpha0131 118 4/12/2022
2.2.0-alpha0107 117 4/12/2022
2.2.0-alpha0084 116 4/8/2022
2.2.0-alpha0066 117 4/7/2022
2.2.0-alpha0050 124 4/7/2022
2.2.0-alpha0036 132 4/7/2022
2.2.0-alpha0023 116 4/6/2022
2.2.0-alpha0011 116 4/5/2022
2.2.0-alpha0003 116 4/4/2022
2.1.0 132 4/4/2022
2.1.0-alpha0316 113 4/4/2022
2.1.0-alpha0274 116 4/3/2022
2.1.0-alpha0234 129 4/1/2022
2.1.0-alpha0198 120 3/30/2022
2.1.0-alpha0168 114 3/28/2022
2.1.0-alpha0140 107 3/28/2022
2.1.0-alpha0114 116 3/28/2022
2.1.0-alpha0090 118 3/27/2022
2.1.0-alpha0068 113 3/27/2022
2.1.0-alpha0048 110 3/26/2022
2.1.0-alpha0032 106 3/25/2022
2.1.0-alpha0019 114 3/25/2022
2.1.0-alpha0008 114 3/24/2022
2.0.0 136 3/22/2022
2.0.0-beta0002 117 3/22/2022
2.0.0-beta0001 119 3/22/2022
2.0.0-alpha0011 111 3/24/2022
2.0.0-alpha0004 112 3/23/2022
1.1.0-alpha0161 112 3/22/2022
1.1.0-alpha0135 114 3/22/2022
1.1.0-alpha0111 113 3/22/2022
1.1.0-alpha0089 98 3/21/2022
1.1.0-alpha0069 110 3/21/2022
1.1.0-alpha0051 110 3/21/2022
1.1.0-alpha0036 115 3/21/2022
1.1.0-alpha0023 114 3/21/2022
1.1.0-alpha0012 114 3/20/2022
1.1.0-alpha0003 115 3/19/2022
1.1.0-alpha0001 110 3/19/2022
1.0.0 147 3/19/2022
1.0.0-beta0003 117 3/19/2022
1.0.0-beta0002 111 3/19/2022
1.0.0-beta0001 118 3/19/2022
0.2.0-alpha1222 113 3/19/2022
0.2.0-alpha1221 109 3/19/2022
0.2.0-alpha1118 112 3/19/2022
0.2.0-alpha1017 117 3/19/2022
0.2.0-alpha0926 112 3/19/2022
0.2.0-alpha0836 109 3/19/2022
0.2.0-alpha0747 114 3/18/2022
0.2.0-alpha0660 109 3/18/2022
0.2.0-alpha0574 109 3/18/2022
0.2.0-alpha0489 110 3/18/2022
0.2.0-alpha0405 121 3/18/2022
0.2.0-alpha0322 116 3/18/2022
0.2.0-alpha0240 115 3/18/2022
0.2.0-alpha0159 111 3/18/2022
0.2.0-alpha0079 114 3/17/2022
0.1.3 142 3/17/2022
0.1.3-alpha0051 127 3/17/2022
0.1.3-alpha0050 122 3/17/2022
0.1.3-alpha0049 117 3/17/2022
0.1.3-alpha0048 117 3/17/2022
0.1.3-alpha0047 119 3/16/2022
0.1.3-alpha0046 116 3/16/2022
0.1.3-alpha0045 117 3/16/2022
0.1.3-alpha.44 119 3/15/2022
0.1.3-alpha.43 110 3/14/2022
0.1.3-alpha.42 115 3/14/2022
0.1.3-alpha.41 114 3/14/2022
0.1.3-alpha.40 119 3/14/2022
0.1.3-alpha.39 108 3/14/2022
0.1.3-alpha.38 112 3/14/2022
0.1.3-alpha.37 118 3/14/2022
0.1.3-alpha.36 108 3/13/2022
0.1.3-alpha.35 121 3/13/2022
0.1.3-alpha.34 114 3/13/2022
0.1.3-alpha.33 110 3/13/2022
0.1.3-alpha.32 122 3/13/2022
0.1.3-alpha.31 115 3/13/2022
0.1.3-alpha.30 114 3/13/2022
0.1.3-alpha.29 111 3/13/2022
0.1.3-alpha.28 110 3/13/2022
0.1.3-alpha.27 115 3/13/2022
0.1.3-alpha.26 110 3/13/2022
0.1.3-alpha.8 118 3/13/2022
0.1.3-alpha.7 115 3/13/2022
0.1.3-alpha.4 120 3/13/2022
0.1.3-alpha.3 117 3/13/2022
0.1.3-alpha.2 137 3/13/2022
0.1.2 154 3/12/2022
0.1.2-alpha.15 142 3/12/2022
0.1.2-alpha.14 142 3/12/2022
0.1.2-alpha.13 129 3/12/2022
0.1.2-alpha.12 141 3/12/2022
0.1.2-alpha.11 138 3/12/2022
0.1.2-alpha.10 140 3/11/2022
0.1.2-alpha.7 142 3/11/2022
0.1.2-alpha.6 135 3/11/2022
0.1.2-alpha.2 144 3/10/2022
0.1.1 161 3/9/2022
0.1.1-alpha.10 134 3/10/2022
0.1.1-alpha.9 138 3/9/2022
0.1.1-alpha.6 141 3/9/2022
0.1.1-alpha.2 136 3/9/2022
0.1.0 149 3/7/2022
0.1.0-alpha.80 138 3/8/2022
0.1.0-alpha.79 147 3/8/2022
0.1.0-alpha.78 146 3/7/2022
0.1.0-alpha.77 139 3/6/2022
0.1.0-alpha.76 140 3/6/2022
0.1.0-alpha.75 128 3/6/2022
0.1.0-alpha.74 127 3/5/2022
0.1.0-alpha.73 138 3/5/2022
0.1.0-alpha.72 153 3/5/2022