Example #1
0
        /// <summary>
        /// Upload file into browser via dialog window
        /// </summary>
        /// <param name="file">Full path to file</param>
        public static void Upload(string file)
        {
            var dialog = DialogFactory.GetOpenFileDialog();

            dialog.FilePath = file;
            dialog.Open();
        }