---
title: "Stänga en anslutning"
type: "forum-thread"
url: "https://www.webforum.nu/amne/dotnet/152474-stänga-en-anslutning"
topic: ".NET"
topic_url: "https://www.webforum.nu/amne/dotnet"
author: "antipentA"
published: "2006-10-13T17:57:05.000Z"
updated: "2006-10-13T17:57:05.000Z"
replies: 0
views: 239
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/dotnet/152474-stänga-en-anslutning"
---

# Stänga en anslutning

## #1 — antipentA, 2006-10-13T17:57Z

Jag lyckas inte hitta hur man gör för att stänga en anslutning.

Jag kan få fram aktiva anslutningar med följande kod:

```
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
TcpConnectionInformation[] connections = properties.GetActiveTcpConnections();
```

 

...men om jag nu vill stänga en speciell anslutning, hur gör jag då?

Permalänk: https://www.webforum.nu/p/152474

---

Tråden på webben: https://www.webforum.nu/amne/dotnet/152474-stänga-en-anslutning
