Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Obtaining File signature of the default browser

Posted on 2000-02-25
2
Medium Priority
?
205 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 200 total points
ID: 2560383
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
ID: 2560608
Thanks for the help, although i am not using Powerplant the site u provided to help me in understanding the issue.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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 cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

810 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