I have already activated the Document ID service and was able to Upload a file to a Sharepoint library using the example found here:
But I am not sure how to pro-grammatically return the document ID of the newly uploaded document in C#. Anyone who could assist me on this please?
You can use the SiteData.GetURLSegments method.
From Sharepoint StackExchange, here.