Code:
Public Function Injection(ByVal lechoix As String) As String
Dim undossier As New DirectoryInfo(System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory())
Dim jenesaispas As String = Nothing
For Each IL As FileInfo In undossier.GetFiles(lechoix)
jenesaispas = IL.FullName
Return jenesaispas
Next
Return jenesaispas
End Function
'Self Injection : Injection("System.Reflection.Assembly.GetExecutingAssembly.Location()")
' Autres : Injection(<processus-name-with-extension>)
J'aime:
Floride et RoRoH_AR