diff --git a/Jellyfin.Api/Controllers/SystemController.cs b/Jellyfin.Api/Controllers/SystemController.cs
index 6c5ce47158..0ee11c0704 100644
--- a/Jellyfin.Api/Controllers/SystemController.cs
+++ b/Jellyfin.Api/Controllers/SystemController.cs
@@ -212,20 +212,4 @@ public class SystemController : BaseJellyfinApiController
FileStream stream = new FileStream(file.FullName, FileMode.Open, FileAccess.Read, fileShare, IODefaults.FileStreamBufferSize, FileOptions.Asynchronous);
return File(stream, "text/plain; charset=utf-8");
}
-
- ///
- /// Gets wake on lan information.
- ///
- /// Information retrieved.
- /// An with the WakeOnLan infos.
- [HttpGet("WakeOnLanInfo")]
- [Authorize]
- [Obsolete("This endpoint is obsolete.")]
- [ProducesResponseType(StatusCodes.Status200OK)]
- public ActionResult> GetWakeOnLanInfo()
- {
- var result = _networkManager.GetMacAddresses()
- .Select(i => new WakeOnLanInfo(i));
- return Ok(result);
- }
}
diff --git a/MediaBrowser.Model/System/WakeOnLanInfo.cs b/MediaBrowser.Model/System/WakeOnLanInfo.cs
deleted file mode 100644
index aba19a6baf..0000000000
--- a/MediaBrowser.Model/System/WakeOnLanInfo.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using System.Net.NetworkInformation;
-
-namespace MediaBrowser.Model.System
-{
- ///
- /// Provides the MAC address and port for wake-on-LAN functionality.
- ///
- public class WakeOnLanInfo
- {
- ///
- /// Initializes a new instance of the class.
- ///
- /// The MAC address.
- public WakeOnLanInfo(PhysicalAddress macAddress) : this(macAddress.ToString())
- {
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- /// The MAC address.
- public WakeOnLanInfo(string macAddress) : this()
- {
- MacAddress = macAddress;
- }
-
- ///
- /// Initializes a new instance of the class.
- ///
- public WakeOnLanInfo()
- {
- Port = 9;
- }
-
- ///
- /// Gets the MAC address of the device.
- ///
- /// The MAC address.
- public string? MacAddress { get; }
-
- ///
- /// Gets or sets the wake-on-LAN port.
- ///
- /// The wake-on-LAN port.
- public int Port { get; set; }
- }
-}