FileStream方法支持URI格式吗?100分
zijie 2004-01-12 07:12:00 System.IO.Stream iStream = null;
string filepath = "http://localhost/3.mpeg";
string filename = System.IO.Path.GetFileName(filepath);
try
{
iStream = new System.IO.FileStream(filepath, System.IO.FileMode.Open,
System.IO.FileAccess.Read,System.IO.FileShare.Read);
……
请问为什么在运行时总要报“不支持 URI 格式”,这个错误!难道FileStream不支持URI格式吗?我应该怎么做……