I'm looking for the way to get the version of the app so I can display i开发者_Go百科t in the About screen in my Android app.
In iOS (MonoTouch.net) we'd just do this:
NSBundle.MainBundle.ObjectForInfoDictionary ("CFBundleVersion").ToString ();
You can use the PackageManager.GetPackageInfo method to get access to all sorts of information about your app, including VersionCode and VersionName
精彩评论