DokanNet.DokanHelper Class Reference

Dokan functions helpers for user IDokanOperations implementation. More...

Static Public Member Functions

static bool DokanIsNameInExpression (string expression, string name, bool ignoreCase)
 Check whether name Name matches expression Expression. More...
 

Detailed Description

Dokan functions helpers for user IDokanOperations implementation.

Member Function Documentation

static bool DokanNet.DokanHelper.DokanIsNameInExpression ( string  expression,
string  name,
bool  ignoreCase 
)
inlinestatic

Check whether name Name matches expression Expression.

This method is mainly used in IDokanOperations.FindFilesWithPattern to filter a list of possible files. For example "F0_<"*" match "f0_001.txt"

See also
See FsRtlIsNameInExpression routine (MSDN)
Parameters
expressionThe matching pattern. Can contain: ?, *, <, ", >.
nameThe string that will be tested.
ignoreCaseWhen set to true a case insensitive match will be performed.
Returns
Returns true if Expression match Name, false otherwise.

The documentation for this class was generated from the following file:
  • DokanHelper.cs