Topics: Updater Application Block
Dec 11, 2004 at 12:15 PM
originally posted by: portage


I have a situation. I need to use IBackgroundCopyJob2 to send Credential information to the server.

1. Where can I find it ? BitsInterop only has IBackgroundCopyJob.
2. How to use it ? Any samples will be appreciated !

Dec 12, 2004 at 6:13 AM
originally posted by: asdf5555

Hello, the BITS 2.0 fix posted on this workspace, contains a BitsCredentialWrapper.CPP that contains the fix for using IBackgroundCopyJob2 to setting the credentials. The details are provided at http://www.gotdotnet.com/workspaces/releases/viewuploads.aspx?id=83c68646-befb-4586-ba9f-fdf1301902f5

It also includes the simple quick start sample; once the new BITS fix is incorporated, on the client the only change is in the app.config where you set the authenticationScheme, userName & password.