Skip to content

Instantly share code, notes, and snippets.

@hatsunea
Last active February 14, 2016 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hatsunea/04298c264532ec1d9d61 to your computer and use it in GitHub Desktop.
Save hatsunea/04298c264532ec1d9d61 to your computer and use it in GitHub Desktop.
NetworkChange.NetworkAddressChanged += (object sender, EventArgs e) =>
{
this.Context.Post(async (o) =>
{
this.IsEnable = await CheckEnable();
},
null);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment