File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
SteamKit2/SteamKit2/Types Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -219,25 +219,6 @@ public bool DecryptFilenames(byte[] encryptionKey)
219
219
return true ;
220
220
}
221
221
222
- /// <summary>
223
- /// Serializes depot manifest and saves the output to a file.
224
- /// </summary>
225
- /// <param name="filename">Output file name.</param>
226
- /// <returns><c>true</c> if serialization was successful; otherwise, <c>false</c>.</returns>
227
- public bool SaveToFile ( string filename )
228
- {
229
- try
230
- {
231
- using var fs = File . Open ( filename , FileMode . Create ) ;
232
- Serialize ( fs ) ; // Directly pass the FileStream to the Serialize method
233
- return true ; // If serialization completes without throwing an exception, return true
234
- }
235
- catch ( Exception )
236
- {
237
- return false ; // Return false if an error occurs
238
- }
239
- }
240
-
241
222
/// <summary>
242
223
/// Loads binary manifest from a file and deserializes it.
243
224
/// </summary>
You can’t perform that action at this time.
0 commit comments