Skip to content

A question, not an issue #275

@DrEmpiricism

Description

@DrEmpiricism

Is there a difference between using Microsoft.Dism.DismApi.CloseSession(Microsoft.Dism.DismSession) and Microsoft.Dism.DismSession.Close()?

If they both do the same thing, then I find the latter to be preferred within individual functions. Moreover, I have found that a closed DismSession handle will still return as 'IsClosed = false' until Microsoft.Dism.DismSession.Dispose() is called. Should both Close and Dispose be used?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions