Obtaining File signature of the default browser

How do i obtain the 4 character signature of the default web browser used  in a Mac ?
teocbAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Alex CuryloConnect With a Mentor Commented:
You use the Internet Config SDK, I would recommend via the UInternetConfig unit included with PowerPlant which would make that pretty easy:

ICMapEntry entry;
ICError err = UInternetConfig::PP_ICMapFilename("\ptest.html", &entry);

.... and the browser signature is then in entry.file_creator.

Note that whatever it is you want to do with this signature, there probably are more elegant ways to accomplish it using  Internet Config. Check out the documentation at

http://www.stairways.com/ic/
0
 
teocbAuthor Commented:
Thanks for the help, although i am not using Powerplant the site u provided to help me in understanding the issue.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.