© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
6 replies
kurumi

HttpListener implements IDisposable but there is not Dispose() method, why and how can I dispose it?

#region Assembly System.Net.HttpListener, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.HttpListener.dll
#endregion
#region Assembly System.Net.HttpListener, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.HttpListener.dll
#endregion
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ REST API but it is HttpListener only available
C#CC# / help
3y ago
✅ Dispose method to "dispose" file resource when using LogTo method
C#CC# / help
11mo ago
✅ HttpListener not starting
C#CC# / help
3y ago
Why is it not calling the OnCollisionEnter method?
C#CC# / help
3y ago