Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Created October 31, 2018 13:19
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 juucustodio/5c9bebf0773577b8613a38d3d3c943cd to your computer and use it in GitHub Desktop.
Save juucustodio/5c9bebf0773577b8613a38d3d3c943cd to your computer and use it in GitHub Desktop.
Example how your Xamarin.Forms application get the IMEI code from device - http://julianocustodio.com/imei
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:DemoImei"
x:Class="DemoImei.MainPage">
<StackLayout HorizontalOptions="Center"
VerticalOptions="CenterAndExpand">
<Label x:Name="LblImei" />
<Button Text="Get Imei" Clicked="Button_OnClicked"/>
</StackLayout>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment