Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32756

How to Flush DNS Cache using .NET Inbuit Library Components

$
0
0
using System.Runtime.InteropServices;[DllImport("dnsapi.dll",EntryPoint="DnsFlushResolverCache")]privatestaticexternUInt32DnsFlushResolverCache();publicstaticvoidFlushMyCache()//This can be named whatever name you want and is the function you will call{UInt32 result =DnsFlushResolverCache();}HowToImplementthisinProgram.cs file WindowApplication.Can u please me inThis:)

Viewing all articles
Browse latest Browse all 32756

Trending Articles