I would like to start by saying this is my first forray into C#, so I apologize for any terminology misused.
I am looking for a way to read the contents of different compressed files under C# (to be integrated into the Beagle Desktop Search, should I figure this out) and while there is plenty of solid documentation on integrating gtk#/glade with C# to make simple interfaces, the mono runtime seems to be lacking any way to compress/decompress a stream without doing it manualy.
While reading through the Mono Documentation, I found a Gnome.Vfs class that extendts one of System.IO's classes. I believe Gnome's VFS can read some compressed formats. Does anyone have any experiance with this? Moreover could someone loan some simple POC type code? I am not solid on C# syntax yet, so I might just be messing things up that way.
using System;
using Gnome.Vfs;
class MainClass
{
private VfsStream temp; //attempt to declare a VfsStream
public static void Main(string[] args)
{
temp = new VfsStream("/home/qub333/samplecomp.zip",
new FileMode(open)); //attempt to create a VfsStream
Console.WriteLine("Hello World!"); // So far, the only part that works
}
}