Solved

Obtaining File signature of the default browser

Posted on 2000-02-25
2
199 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
Alex Curylo earned 50 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Macro to save highlighted rows as a separate file 5 51
Complete beginner needs help making a cron job 9 133
unable to delete all specified values regedit 38 873
scoreUp challenge 14 73
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.

737 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