Since FileDependency is in API but not exposed and using COM does anyone know why it returns fonts that I can find like below
C:\Windows\FONTS\ ARIAL_1.TTF
C:\Windows\FONTS\ trebuc_0.ttf
Testing code and seems you need to save the file to get it to show anything.
[CommandMethod("Testes1")]
public void Testes1()
{
AcadApplication acadApp = (AcadApplication)Application.AcadApplication;
AcadFileDependencies fileDepndesices = acadApp.Application.ActiveDocument.FileDependencies;
foreach (AcadFileDependency fileDepndesic in fileDepndesices)
{
Ed.WriteLine(fileDepndesic.FoundPath + " " + fileDepndesic.FullFileName);
}
}