Dev2.FileSystem.Put C# (CSharp) Méthode

Put() public méthode

public Put ( Stream data, Uri path, bool overwrite = false, string userName = "", string password = "" ) : void
data Stream
path System.Uri
overwrite bool
userName string
password string
Résultat void
        public void Put(Stream data, Uri path, bool overwrite = false, string userName = "", string password = "")
        {
            using (data)
            {
                File.WriteAllBytes(path.LocalPath, data.ToByteArray());
            }
        }