AnsweredAssumed Answered

UWP version of Android UserCredential

Question asked by aehren1 on Apr 11, 2017

I am moving code from Android to UWP and I am looking for assistance on what to use in place of the Android call:

UserCredential( "user", "password" );

 

This is currently being used to set the credential for a RouteTask.

ex for Android:

 

private com.esri.arcgisruntime.security.UserCredential creds;

 

creds = new UserCredential( "user", "password" );

routeTask.setCredential( creds );

routeTask = await RouteTask.CreateAsync( RoutingSource );

 

Thanks for any assistance.

Outcomes