locked
What's the meaning of the Resource property of PasswordCredential? RRS feed

  • Question

  • When passing authentication information to a BackgroundDownloader or BackgroundUploader a PasswordCredential instance must be set. The constructor of this class wants username and passworf or course. But it wants a "resource" as well that is passed to the Resource property. I could not figure out what the meaning of this property is. The documentation says "The resource of the credential". Does someone know what the meaning of this property actually is?

    The App Hotline (Germany) thought it would be the request URI but that would not make sense since both BackgroundDownloader and BackgroundUploader can handle more than one data transfer.

    Actually the Basic authentication scheme does only require username and password. Also in my tests the authentication worked if I passed a random string as the resource (the parameter must be set to a non-empty string).


    Monday, December 17, 2012 2:43 PM

Answers

All replies