NuGetSetApiKey.

SetApiKey(string, string, NuGetSetApiKeySettings) Method

Summary

Installs NuGet packages using the specified package id and settings.

Syntax

public void SetApiKey(string apiKey, string source, NuGetSetApiKeySettings settings)

Parameters

Name Type Description
apiKey string The API key.
source string The Server URL where the API key is valid.
settings NuGetSetApiKeySettings The settings.

Return Value

Type Description
void