Solved

Obtaining File signature of the default browser

Posted on 2000-02-25
2
196 Views
Last Modified: 2013-12-26
How do i obtain the 4 character signature of the default web browser used  in a Mac ?
0
Comment
Question by:teocb
2 Comments
 
LVL 4

Accepted Solution

by:
Alex Curylo earned 50 total points
Comment Utility
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
 

Author Comment

by:teocb
Comment Utility
Thanks for the help, although i am not using Powerplant the site u provided to help me in understanding the issue.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now