B
Bhava
Guest
Hello C# Gurus
We have a Windows service that manages files using network paths which is on the SAN. For various reasons, SAN is either going down or not accessible at some time(may be for 5-20 minutes), then infrastructure team fixes issue.
Is there a way to catch this ""The specified network name is no longer available." in C#, like what exception should be caught? The C# code uses method BinaryWriter.Write (Byte[], Int32, Int32).
OR
Can the exists method System.IO.Directory.Exists(string) figure out SAN is down(in this case return false)?
Any better options?
Thanks
Bhava
Continue reading...
We have a Windows service that manages files using network paths which is on the SAN. For various reasons, SAN is either going down or not accessible at some time(may be for 5-20 minutes), then infrastructure team fixes issue.
Is there a way to catch this ""The specified network name is no longer available." in C#, like what exception should be caught? The C# code uses method BinaryWriter.Write (Byte[], Int32, Int32).
OR
Can the exists method System.IO.Directory.Exists(string) figure out SAN is down(in this case return false)?
Any better options?
Thanks
Bhava
Continue reading...