How to get subnet mask using .net?

BrMe picture BrMe · Dec 16, 2012 · Viewed 34.2k times · Source

I want to get client subnet mask using c#.

How can I get it?

Answer

Soner Gönül picture Soner Gönül · Dec 16, 2012

First of all, check NetworkInterface class first. There are a lot of information in it. And these articles will be helpful for you: