Amazon S3

How to Use
Code samples
Last updated
Was this helpful?

Last updated
Was this helpful?
Was this helpful?
using (OpenFileDialog ofd = new OpenFileDialog())
{
ofd.Title = "Select a file";
ofd.Filter = "Text Files(.txt)|.txt|All Files (.)|.";
ofd.FilterIndex = 0;
ofd.Roots.Add(new Wisej.Ext.FileSystem.S3FileSystemProvider("yourserver.com", "My Files")
{
// use your amazon credentials
AccessKey = "XXX",
AccessSecret = "YYY"
});
if (ofd.ShowDialog() == DialogResult.OK)
AlertBox.Show(ofd.FileName);
}