DismDriverPackageExtensionsGetPackageDirectoryInfName Method
Gets a shortened name for the .inf file name specified in the
OriginalFileName property
of the source
DismDriverPackage object.
For example, if the source
OriginalFileName property value is: "nv_dispig.inf_amd64_3b12ac0f95b18b9d",
this function returns: "nv_dispig".
Namespace: DevCase.ThirdParty.Dism.Extensions.DismDriverPackageExtensionsAssembly: DevCase.net48.ThirdParty.Dism (in DevCase.net48.ThirdParty.Dism.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static string GetPackageDirectoryInfName(
this DismDriverPackage driverPackage
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function GetPackageDirectoryInfName (
driverPackage As DismDriverPackage
) As String
Dim driverPackage As DismDriverPackage
Dim returnValue As String
returnValue = driverPackage.GetPackageDirectoryInfName()
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static String^ GetPackageDirectoryInfName(
DismDriverPackage^ driverPackage
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member GetPackageDirectoryInfName :
driverPackage : DismDriverPackage -> string
No code example is currently available or this language may not be supported.
- driverPackage DismDriverPackage
-
The source DismDriverPackage object.
String
The resulting
DirectoryInfo object that points to the directory that contains the driver files.
In Visual Basic and C#, you can call this method as an instance method on any object of type
DismDriverPackage. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
Microsoft.Dism by jeffkl