While I have written networking apps, none care if the connection is WiFi or LAN so I would be guessing far too much to decode your post. Nod to Daniweb for programming questions.
i wrote a wifi program in c# and i am using native wifi username but it told me that u must have the native wifi api. Please provide the what is Native Wifi & wlanapi.dll? is it useful?