|
|
||
AnswerList of Questions
In AutoPlay Media Studio, to determine if a user is connected to a LAN:
| 1. | Insert the following code into any event in your application: |
lan = System.GetLANInfo();
lan_exist = true;
for j in pairs(lan) do
if lan[j] == "Unknown" then
lan_exist = false;
end
end
if lan_exist then
Dialog.Message("", "You are connected to a LAN");
else
Dialog.Message("", "You are not connected to a LAN");
end
Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us