title: SharePoint - Determine the custom site template a site was created from
body: <p>I use "Site Settings" to "Save Site as Template", and then create a couple of sites using that custom site template (or should I call it a Solution?)</p>
  
  <p>How can I get my C# to work out which sites were created from this custom site template?</p>
  
  <p>Note that SPWeb's .WebTemplate, .WebTemplateId and .Configuration all come back "STS", 1 and 1 respectively regardless of whether the site was created using this custom template or not. I assume that that is because they are reporting on the underlying SharePoint out of the box template.</p>
  
  <p>Thanks in advance.</p>