.NET Framework 4.6 and 4.5
Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the FileStream.
The garbage collector calls Finalize when the current object is ready to be finalized. Finalize closes the FileStream.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Supported in: 3.0, 2.0, 1.0
Supported in: Windows Phone 8.1
Supported in: Windows Phone Silverlight 8.1
Supported in: Windows Phone Silverlight 8