/// <summary> /// Close fileinfo resource /// </summary> public static bool finfo_close(finfo finfo) { if (finfo != null && finfo.IsValid) { finfo.Dispose(); } return(true); }
public finfoResource(finfo finfo) : base("file_info") { _finfo = finfo; }
/// <summary> /// Set configuration options. /// </summary> public static bool finfo_set_flags(finfo finfo, int options) => finfo.set_flags(options);
public static string finfo_file(finfo finfo, string file_name = null, int options = FILEINFO_NONE, PhpResource context = null) => finfo?.file(file_name, options, context);
public static string finfo_buffer(finfo finfo, byte[] @string = null, int options = FILEINFO_NONE, PhpResource context = null) => finfo?.buffer(@string, options, context);