Hi @AhmedMadany-4915,
In SharePoint On-Premise environment, the OneDrive for SharePoint is hosted in My Site Documents library:
you could access the MySite library using CSOM or SSOM as Trever's suggestion :
var siteurl = "http://sp/my/personal/administrator";
using (ClientContext ctx=new ClientContext(siteurl))
{
List list = ctx.Web.Lists.GetByTitle("Documents");
ListItemCollection items = list.GetItems(CamlQuery.CreateAllItemsQuery());
ctx.Load(items);
ctx.ExecuteQuery();
}
Reference:
get list of files in a Folder in a SharePoint Library using CSOM