public static DocumentStatus GetStatus(string path)
 {
     using (SolidEdgeDocument document = SolidEdgeDocument.Open(path))
     {
         return(document.Status);
     }
 }
 public static Version GetLastSavedVersion(string path)
 {
     using (SolidEdgeDocument document = SolidEdgeDocument.Open(path))
     {
         return(document.LastSavedVersion);
     }
 }