Hi,I'm still using ArcGIS Mobile 10.0.I think I may have the solution:
//Get the layer you want
FeatureLayer featureLayer = MobileApplication.Current.Project.FindFeatureLayer("Clients");
//Get the data table and then read it
FeatureDataTable fDataTable = featureLayer.GetDataTable();
using(FeatureDataReader fDataReader = featureLayer.GetDataReader())
{
int globalIdIndex = fDataReader.GlobalIdColumnIndex;
fDataReader.GetValue(globalIdIndex); // here you will get the value of the Global ID, I have not tried it but it may work.
}
I know the globalIdIndex value is inside the loop you can take it out and keep the variable outside the loop.I hope this helps, let us know if this works.