Jump to content

plist help

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Oran

Oran

    Newbie

  • Members
  • Pip
  • 5 posts
hello everyone.
i was asked to write a program that extracts the browsing history from Internet Explorer, Firefox, Chrome and Safari.
the first three is no problem, but Safari keeps its history stored in .plist files. is there a way to read .plist files with c#?
thanks for any help

#2
Momerath

Momerath

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 242 posts
Yes, the format specification can be found here.

#3
Oran

Oran

    Newbie

  • Members
  • Pip
  • 5 posts
the link you gave me explains what is a plist file. while helpful, it doesnt help em write a code that can read the plist file with c#. do you know where can I find an explenation or a snippet that shows it, or perhaps you know?

#4
Momerath

Momerath

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 242 posts
The document explains exactly how to read a plist file. That's what format specification documents do. "This document describes the standard XML format." If it's in the binary format, there is a link at the bottom that tells you how to convert to XML format.

As for a snippet, there has to be a million of them on the net. Search for "How to read XML in C#".




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users