'Declaration
Public Shared Function GetCredentials( _ ByVal targetChannel As WebChannel, _ ByVal useApiKey As Boolean, _ ByVal repositoryId As Guid, _ ByVal keyContainerName As String, _ ByVal useMachineStore As Boolean _ ) As IWebAuthenticationProvider
public static IWebAuthenticationProvider GetCredentials( WebChannel targetChannel, bool useApiKey, Guid repositoryId, string keyContainerName, bool useMachineStore )
Parameters
- targetChannel
- The web channel representing the endpoint that the credentials are for
- useApiKey
- True if an API key was used to originally set up the connection
- repositoryId
- The owner Id to specify to the server (for example repository Id)
- keyContainerName
- The name of the key container to retrieve the private key from
- useMachineStore
- True to use the machine store instead of the user store for the digital certificate