In my code I am testing to see if the drawing path exists and if not, using SaveAs to save the file. The SaveAs command takes a parameter of type SecurityParameters. It will not allow me to create the object with new SecurityParameters(). Instead it wants a long list of parameters. All I wish to do is create the file as a normal file with no special permissions.
SecurityParameters sp = new SecurityParameters("password", "providerName", "subject", "issuer", "serialNumber", "comment", "TimeServer", Actions, Algorithm, keyLength, providerType);
oAcadApp.ActiveDocument.SaveAs(sFilePath, DwgVersion.Newest,sp);
SecurityParameters sp = new SecurityParameters();// does not compile
note oAcadApp.ActiveDocument.SaveAs(sFilePath, DwgVersion.Newest,null); does not compile.