PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET I need to know if the underliing OS of a file supports FileSystemWatcher

Reply

I need to know if the underliing OS of a file supports FileSystemWatcher

 
Thread Tools Rate Thread
Old 29-06-2003, 06:33 AM   #1
William Ryan
Guest
 
Posts: n/a
Default I need to know if the underliing OS of a file supports FileSystemWatcher


Try something like this (I'm using C#, but VB.NET works
the same): from CH 23 of MS Press Microsoft .NET Compact
Framework (Wigley, Wheelwright).

OperatingSystem osInfo = Environment.OSVersion

switch(osInfo.Platform)
{
case PlatformID.Win32NT:
case PlatformID.Win32Windows:
}

>-----Original Message-----
>Hello,
>
>I have a UNC-Filename (e. g.

\\HostComputer\C\Data\Test.abc). How can
>I retrieve informations if the hosts operating system

(XP, NT, W98)
>supports FileSystemWatcher?
>
>Thanks for any help.
>
>Tobias
>.
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off