Skip to content

Instantly share code, notes, and snippets.

@davidfowl
Created May 10, 2011 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidfowl/964248 to your computer and use it in GitHub Desktop.
Save davidfowl/964248 to your computer and use it in GitHub Desktop.
var factory = new PackageRepositoryFactory();
IPackageRepository repository = factory.CreateRepository("https://go.microsoft.com/fwlink/?LinkID=206669");
foreach (var p in repository.GetPackages()) {
Console.WriteLine(p);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment