public virtual void DeleteDirectory(string path, bool recursive) { #if !SILVERLIGHT Directory.Delete(path, recursive); #else throw new NotImplementedException(); #endif }