I am trying to download the map from my ArcGis portal content as a Mobile map package so that I can use it offline.
I am able to create arcgisportal with my credentials and i can connect and get basic data but when i try to download the map with:
GenerateOfflineMapResult jobResult = await job.GetResultAsync();
It gives me an error which says token is required. So, I tried to make the map public to everyone and still it gives me the same error.
I basically followed this tutorial Create an offline map—ArcGIS Runtime SDK for .NET (WPF) | ArcGIS for Developers .