Dev2.FileSystem.Put C# (CSharp) Method

Put() public method

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
return void
        public void Put(Stream data, Uri path, bool overwrite = false, string userName = "", string password = "")
        {
            using (data)
            {
                File.WriteAllBytes(path.LocalPath, data.ToByteArray());
            }
        }