> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 패키지 없는 durable 사용 방법

> 타이틀에서 패키지 없는 durable(DWOB)을 사용합니다 — 라이선스 설정, 사용 권한 확인, DWOB가 패키지된 다운로드 가능한 콘텐츠 제품과 다른 점.

Durable은 클라이언트에 다운로드되는 패키지를 포함하거나 포함하지 않도록 구성할 수 있습니다. 패키지가 없는 durable은 구성하고 사용하기가 더 쉽습니다. 이러한 durable 유형은 일반적으로 이미 기본 게임의 일부인 콘텐츠에 대한 접근을 제한하는 데 사용됩니다. 많은 게임이 라이선스가 없는 경우에도 멀티플레이어나 미리보기 용도로 자산을 사용하기 때문에 추가 기능의 콘텐츠를 기본 게임 패키지에 포함하기로 선택합니다.

<Note>
  패키지 없는 Durable은 디스크에서 지원되지 않습니다.
</Note>

다운로드 가능한 패키지가 없더라도 제품 유형은 여전히 [게임의 제품 공유 모델](/publishing/xstore-commerce/xstore-product-sharing)에 따라 라이선스를 제공합니다.

[XStoreQueryEntitledProductsAsync](/reference/system/xstore/xstore_members)를 사용해 소유권을 확인하는 것만으로는 충분하지 않습니다. 대신 [XStoreAcquireLicenseForDurablesAsync](/reference/system/xstore/xstore_members)를 사용해 durable에 대한 액세스를 올바르게 확인하세요.

```cpp theme={null}
void AcquireLicenseForDurable(const char* storeId)
{
    auto async = new XAsyncBlock{};
    async->queue = m_asyncQueue;
    async->callback = [](XAsyncBlock* async)
    {
        XStoreLicenseHandle result = {};

        HRESULT hr = XStoreAcquireLicenseForDurablesResult(
            async,
            &result);

        if (SUCCEEDED(hr))
        {
            bool isValid = XStoreIsLicenseValid(result);
            printf("Is valid license: %s\n", isValid? "yes" : "no");
        }
        else
        {
            printf("Error calling XStoreAcquireLicenseForDurablesResult: 0x%x\n", hr);
        }

        delete async;
    };

    HRESULT hr = XStoreAcquireLicenseForDurablesAsync(
        m_xStoreContext,
        storeId,
        async);

    if (FAILED(hr))
    {
        delete async;
        return;
    }
}
```

## 참조 API 문서

* [XStore (API 내용)](/reference/system/xstore/xstore_members)
  * 함수
    * [XStoreQueryEntitledProductsAsync](/reference/system/xstore/xstore_members)
    * [XStoreAcquireLicenseForDurablesAsync](/reference/system/xstore/xstore_members)

## 참고

[커머스 개요](/publishing/xstore-commerce/xstore-commerce-overview)

[다운로드 가능한 콘텐츠(DLC) 관리 및 라이선스](/publishing/xstore-commerce/xstore-dlc)

[XStore API 참조](/reference/system/xstore/xstore_members)


## Related topics

- [기본 스토어 작업](/ko/publishing/xstore-commerce/xstore-basic-operations.md)
- [다운로드 가능한 콘텐츠(DLC) 관리 및 라이선스](/ko/publishing/xstore-commerce/xstore-dlc.md)
- [올바른 제품 유형 선택](/ko/publishing/xstore-commerce/xstore-choosing-product-type.md)
- [GDK 커머스 시스템 개요](/ko/publishing/xstore-commerce/xstore-overview.md)
- [라이선싱 테스트 활성화](/ko/publishing/xstore-commerce/xstore-licensing-setup.md)
