Raghav Gupta
New Member
I have to check whether a document is actually a pdf or not and someone hasn't renamed a .png to .pdf. So for this in Blue Prism I am writing a custom code using C# in an object. Actually I have to check the file binary MIME type and for this I am importing urlmon.dll in Code Options as a external reference. But I get a compiler error that urlmon.dll can't be opened. I am attaching the 3 attachments here of my code options, my code and error message. I am using Blue Prism 6.6.