I want to get the list of the packages present in Azure DevOps Artifacts with their latest versions. Can I use a Personal Access token to get this list using C#?
I am not able to find a way to get this through the C# code.
Maybe the Artifact Details API is what you're looking for?
Otherwise, you might include the dotnet list package
command in your build pipeline to be able to have a look at that, but that sounds like more manual labor than you're looking to do :)