以下のコードを使用して、ショートカットを作成しています。HP fortify ツールを実行すると、強調表示されたコードのパス操作の問題が発生します。これは初めてです。修正方法を教えてください。 .
string fileName = new data().getdata(object_id, Cid, id_pluf).Tables[0].Rows[0]["Name"] + "url";
**var fs = new System.IO.FileStream(start + fileName, System.IO.FileMode.Create);**
fs.Write(bytes, 0, bytes.Length);
fs.Flush();
fs.Close();
private static void DeleteShortcut(string start, string fileName)
{
**if (System.IO.File.Exists(start+ fileName))**
{
**System.IO.File.Delete(start+ fileName);**
}
}