private void BtnDartCall_Click(object sender, EventArgs e) { try { string path = @"C:\temp\"; string filePath = ""; string outStringFileName = ""; ClsDartApi clsDartApi = new ClsDartApi(); filePath = clsDartApi.callWebClientZipSave("https://opendart.fss.or.kr/api/corpCode.xml?crtfc_key=fc9f7996b19984e91edab1bed1dd0a6249836aa8", path); clsDartApi.UnZipFiles(filePath, path, "", true, out outStringFileName); FileStream fileStream = new FileStream(path + outStringFileName, FileMode.Open); _ds.ReadXml(fileStream); fileStream.Close(); //dgvList.DataSource = _ds.Tables[0]; GetDartCodeInStockName(); } catch (Exception) { throw; } }