public void copiaImagen(string fileToCopy, string Filename)
        {
            try
            {
                NetworkCredential writeCredentials = new NetworkCredential("usr-siger", "we3nya$i");
                using (new NetworkConnection(@"\\172.25.1.204\siger\imagenes\", writeCredentials))
                {

                    System.IO.File.Copy(fileToCopy, Filename, true);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error conectandose al servidor de imagenes" + ex.Message);
            }
            try
            {

                IGPUtilities pGputilities = new GPUtilitiesClass();
                Table_To_DataTable tabla = new Table_To_DataTable();
                IWorkspace pWorkspace = WorkgroupArcSdeWorkspaceFromPropertySet();
                IFeatureWorkspace pFeatureWorkspace = pWorkspace as IFeatureWorkspace;
                ITable pTable = pFeatureWorkspace.OpenTable("TLOB.F03DES_DSCRG");
                tabla.registrarUsuario(pTable, Convert.ToInt32(dataGridViewResultados.SelectedRows[0].Cells[2].Value));
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error actualizando base de datos" + ex.Message);
            }
            lblProceso.Text = "Descarga Terminada";
            btnDescargar.Enabled = true;

        }