diff --git a/src/libraries/System.Diagnostics.FileVersionInfo/src/System/Diagnostics/FileVersionInfo.cs b/src/libraries/System.Diagnostics.FileVersionInfo/src/System/Diagnostics/FileVersionInfo.cs index ae883829134874..5d482d3911ef88 100644 --- a/src/libraries/System.Diagnostics.FileVersionInfo/src/System/Diagnostics/FileVersionInfo.cs +++ b/src/libraries/System.Diagnostics.FileVersionInfo/src/System/Diagnostics/FileVersionInfo.cs @@ -288,6 +288,11 @@ public string? SpecialBuild /// /// The path and name of the file to retrieve version information for. /// A containing information about the file. If the file did not contain version information, the contains only the name of the file requested. + /// + /// + /// Use this only with trusted files. Malformed or malicious files can cause unexpected behavior. + /// + /// /// does not exist or cannot be accessed. public static FileVersionInfo GetVersionInfo(string fileName) {