Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ALFA
SystemInfo
SafeDeleteFile
ALFA.SystemInfo.SafeDeleteFile C# (CSharp) Method
SystemInfo Class Documentation
Show file
Open project: ALandFarAway/ALFA-Base-Resources
SafeDeleteFile()
public
static
method
Delete a file while ignoring any exceptions that may occur.
public
static
SafeDeleteFile
(
string
FileName
) :
void
FileName
string
Supplies the name of the file to /// delete.
return
void
public static void SafeDeleteFile(string FileName) { try { File.Delete(FileName); } catch { } }
SystemInfo
AdjustGameDifficultyLevel
DisableWer
EnableWer
FindWindowEx
GetCentralVaultPath
GetCentralVaultPathForAccount
GetDlgItem
GetExoAppDifficultySliderWindow
GetExoAppWindow
GetExtendedUdpTable
GetFirstDynamicObjectId
GetGameInstallationDirectory
GetGameObjUpdateTime
GetHakDirectory
GetHomeDirectory
GetModuleDirectory
GetModuleResourceName
GetNWNX4IniString
GetNWNX4InstallationDirectory
GetOverrideDirectory
GetPrivateProfileStringW
GetSQLConnectionSettings
GetScrollInfo
GetServerUdpListener
GetServerVaultPathForAccount
GetVaultStoragePluginInUse
GetWindowThreadProcessId
IsDynamicObject
IsRunningInNWN2Server
IsSafeFileName
LoadAssemblyFromNWNX4
SafeDeleteFile
SendMessage
SetAdminPassword
SetDMPassword
SetGameObjUpdateTime
SetPlayerPassword
SetScrollInfo
ShutdownGameServer
WerAddExcludedApplication
WerRemoveExcludedApplication